Hi Bruce, From: Bruce Dubbs <[email protected]> Subject: Re: kernel options Date: Thu, 17 Feb 2011 19:01:28 -0600
> Nathan Coulson wrote: > >> you may have to resort to building a initrd or a initramfs. Without one, >> you need to specify a partition. >> >> just consider it like a "mini" linux system that can run a small bash >> script, which could find your usb stick, mount it, and continue. there is a >> command called switch_root that is very useful for this. At that stage >> too, you can use UUID's if you have a linux environment to work with. >> >> Documentation/kernel-parameters.txt in the linux kernel may have other >> options that I am unaware of, but afaik, root= can only be given devices. >> >> there was a way to determine what your boot device was in /sys, but I >> believe you still need a initrd/initramfs to take advantage of this. > > I can think of two solutions: > > 1. Edit the kernel line and boot that. > > 2. I suspect that the desired place to boot from is the first partition > on the usb drive. Just create several entries for /dev/sda1, /dev/sdb1, > etc and then boot to the one that the bios recognizes as the usb drive. We would call that "bricolage" in french but anyway it works ! I already did things like that. But I would prefer a more robust solution, more portable, and available for non experimented users. Anyway I would like to understand better this boot process. So same question as for Nathan : if you know a good place to learn all that, please tell me ! Regards ! Pierre > > -- Bruce > > -- > http://linuxfromscratch.org/mailman/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
