gnewsense-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gNewSense-users] gNewSense on a live flash drive with persistence


From: ben
Subject: Re: [gNewSense-users] gNewSense on a live flash drive with persistence
Date: Sat, 15 May 2010 23:00:10 +0200
User-agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100329)

i have done that with the following instructions, using ubuntu versions
later than 8.04.
if the instructions are not detailed enough, please ask.

in a german ubuntu forum/wiki [1] they mention a bug in 8.04 and 8.04.1
which makes a workaround necessary (described in [2]). they don't
mention whether this has been fixed in later service packs.

in case you succeed, you might want to do some modifications (e.g. mount
options) to optimize for flash memory. for me it was still painfully
slow, however, but it might have been my hardware that was crappy.

good luck
b

[1] http://wiki.ubuntuusers.de/Live-USB_-_persistente_Installation
[2]
http://forum.ubuntuusers.de/topic/neuer-artikel:live-usb-persistente-installati/6/#post-1400386


# install-mbr /dev/sdX

# fdisk /dev/sdX

partitions proposal :
/dev/sdX1       2gb     vfat    data exchange, must be first
/dev/sdX2       rest    ext2    persistenz
/dev/sdX3  *    750mb   vfat    cd.iso              // bootable

# mkfs.vfat -F 32 -n LiveUSB /dev/sdX3          // perhaps "-F 16" for
syslinux
# mkfs.vfat -F 32 -n DATA    /dev/sdX1
# mkfs.ext2 -b 4096 -L casper-rw /dev/sdX2

# mount ubuntu-7.10-desktop-i386.iso ~/ubuntuimage -o loop
$ cp -r ~/ubuntuimage /dev/sdX3
attention : hidden file "/.disk" must be copied as well


// install "mtools", "syslinux"
# syslinux -f /dev/sdX3            // option -s for better compatibility

rename     /isolinux -> /syslinux
               isolinux.cfg -> syslinux.cfg
delete:       isolinux.bin

edit:           syslinux.cfg
DEFAULT persistent
GFXBOOT bootlogo

LABEL persistent
 KERNEL /casper/vmlinuz
 APPEND  file=/preseed/ubuntu.seed boot=casper persistent
initrd=/casper/initrd.gz --

LABEL live
 KERNEL /casper/vmlinuz
 APPEND  file=/preseed/ubuntu.seed boot=casper
initrd=/casper/initrd.gz splash --
...
...
TIMEOUT 100
PROMPT 1
...








reply via email to

[Prev in Thread] Current Thread [Next in Thread]