Using Partition as a live-USB

Chat about Linux in general
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
Fred Barclay
Level 12
Level 12
Posts: 4185
Joined: Sat Sep 13, 2014 11:12 am
Location: USA primarily

Using Partition as a live-USB

Post by Fred Barclay »

Would it be possible to set up a small (6GB or so) partition on my hard drive and use it in the same way I would use a live usb for installing an OS?
I distro-hop a lot--actually, I have 110GB of my hard drive set aside especially for whatever distro I'm testing at the moment (Arch, currently)--so I use live USBs frequently. However, I only have a few USBs, and I need every one for data, so I have to copy and paste the contents of one every time I want to install a new Linux.
If I could use a hard drive partition as a live USB, and install from it, that would save me a lot of trouble.

I'm guessing GRUB won't let me do it?

Thanks!
Fred
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: Using Partition as a live-USB

Post by xenopeek »

I'm not sure if that is such a good idea, but yeah you can boot ISO files on your hard disk directly through GRUB. Using VirtualBox sounds easier for test driving ISOs though (what I do).
Image
User avatar
Fred Barclay
Level 12
Level 12
Posts: 4185
Joined: Sat Sep 13, 2014 11:12 am
Location: USA primarily

Re: Using Partition as a live-USB

Post by Fred Barclay »

Unfortunately I've never gotten VB to work well in LMDE. Maybe I'll have better luck with Betsy?
Anyway, I usually try to install the OS I'm testing. VMs just don't seem the same--especially when it comes to speed. I wouldn't call LMDE blazingly fast on my machine (1 GB RAM, Cinnamon desktop), so a VM guest might seem slow when it's really the host that's the problem.

Thanks though. Now that I know it can be done, I've got to decide if I want to try.
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein
User avatar
xenopeek
Level 25
Level 25
Posts: 29615
Joined: Wed Jul 06, 2011 3:58 am

Re: Using Partition as a live-USB

Post by xenopeek »

Ah yes, with 1 GB RAM VirtualBox won't be very useful.

Here are a couple of example entries for grub to boot ISOs directly from your hard disk: https://wiki.archlinux.org/index.php/Mu ... ot_entries. It takes some manual work :|
Image
Locked

Return to “Chat about Linux”