Will dsl work from within?


Forum: USB booting
Topic: Will dsl work from within?
started by: Mr Green

Posted by Mr Green on July 22 2005,13:19
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???

Posted by mikshaw on July 22 2005,14:05
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.
Posted by Jerr on July 22 2005,14:22
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 :)

Posted by Mr Green on July 22 2005,15:34
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

Posted by friedgold on July 24 2005,20:28
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.

Posted by Mr Green on July 29 2005,13:55
Hi,

What I did was create a directory called dsl (frugal install) into that ...

But I think booting via usb has confused it .. it does not find image files....

Either drops into reduced shell or locks up (kernel panic) ...

Thinking that usb modules are not loading so dsl is not seeing itself.

Will check cheatcodes ....

Thanks for your help

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.