Re: Quick and dirty "debian live" on USB stick.



On Sat, Nov 28, 2009 at 08:59:21PM EST, Rob Owens wrote:
On Sat, Nov 28, 2009 at 05:19:56PM -0500, Chris Jones wrote:

I'm playing with the idea of copying my laptop's debian lenny
partition to a USB stick that I can take with me when traveling.

Since I can't be sure I'll have a machine with available space on
the HDD or be allowed to partition the drive, what I thought was
that I could have a bootable system on the USB stick and boot into
it pretty much as I would off of a live CD.

[..]

I'm not sure that what you're planning won't work, but if I were you
I'd do it like this:

Create a live USB system (see my instructions in the "live cd/usb
projects" thread). Install all the same software as your current
laptop ha. Then transfer over your data.

What I had in mind was more like a "bootable backup". I tried Debian
Live before and it does not do that.

IIRC, ubuntu has something that does this, but I don't remember the name
right now, and it probably would not work for a debian system.

Supposedly you can test your USB image using Qemu, although I've never
done it myself.

http://live.debian.net/manual/html/ch03s03.html#id2911160

I tried qemu when I was trying to get Debian Live to work but all it did
was it went to 100% and stayed there doing nothing. I didn't have the
time to investigate, but I have a feeling you need more RAM than I have
to run a VM under qemu - just to boot one, even.

Thanks,

CJ


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • HOWTO: setup full Debian on USB and boot from there, problems solved
    ... This involves a boot image containing all files booted into memory and run from memory. ... I also tried to do it with full SUSE and Debian but failed initially. ... Lately I noticed that when I copied a Debian partition to a different partition, the kernel would boot completely due to partition info stored in initrd.img by mkinitrd.yaird which is executed at install time. ... That gave me the idea that perhaps that was what needed to run on USB as well. ...
    (Debian-User)
  • Re: reset high speed USB device using ehci_hcd and address x in squeeze
    ... I'm afraid USB kernel modules are loaded on demand, ... and why it is a problem on Debian? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Burning my Windows XP installation CD to USB Flash drive
    ... USB drives are the ... don't need to do USB boot. ... To give an example of the usage of TestDisk, I plugged a Win2K installer ... custom partition options. ...
    (microsoft.public.windowsxp.general)
  • Problems Installing Fedora Core 2
    ... Microsoft Wheel Optical USB Mouse ... auto detects my drives as "Ultra DMA 5" ... Installer does not set the /boot partition as the active parition, ...
    (Fedora)
  • Re: Problem with random disks mount sequence
    ... I'll get random mount sequences. ... At the beginning the USB ... nautilus remember that 'storage3' was 1st partition, ... SCSI drives are listed by order of discovery. ...
    (Fedora)