USB booting :: Will dsl work from within?



Hi,

I have dsl on a usb-hard drive wondered if it will work from within a /directory

like

Code Sample
/dsl


will linuxrc be able to find Knoppix image....

I was using fromhd, but I'm running from /dev/sda2

Maybe a usbboot cheatcode???

I remember a couple of people working on this a few months ago, and i think they got it to work to some extent.  Try searching these forums for the thread(s). Sorry i can't really say what a good query would be for it.
Wouldnt it be easier just to repartition the drive? Just resize/shrink existing partition, then make new one.

Or, if you tried your way, try using
Code Sample
dsl fromhd=/dev/sda2/dsl/
or
Code Sample
dsl 2
# chroot /mnt/sda2/dsl
# init 5


One of those might yeild what you want. Try it. Hopefully it'll work :)

odd .. I'm using grub to boot dsl

if boot from /dev/sda2/dsl .... but using fromhd=/dev/sda2/dsl does not find image ... I have tried /dev/hda2/dsl but that path looks wrong to me...

I would have more luck using your first method making dsl its own partition ;-)

Thinking now about the dsl version I'm using (1.3) do any of the other dsl versions support booting from usb?

Thanks for your help

Are you wanting to do a frugal install or hdinstall? With frugal DSL will search for the compressed knoppix image on /KNOPPIX/KNOPPIX for each partition. I believe you can use the cheatcodes

knoppix_dir=
knoppix_name=

to change this. So to boot from /DSL/DSL you'd use knoppix_dir=DSL knoppix_name=DSL.

If you are wanting to do a hdinstall then you won't be able to boot from a subdirectory using cheatcodes. You'll need to make your own initrd which mounts the partition DSL is installed onto and pivot_root's in the subdirectory that DSL's files lie in.

Next Page...
original here.