[gentoo-amd64] boot Gentoo from USB key

2008-04-30 Thread Raffaele BELARDI
In the process of building an amd64 diskless box, I am trying to make a bootable USB key with no success up to now. The first problem I encountered was related to ext2/vfat. I initially tried to format the key as ext2, but grub refuses to install on it. Even though I copied the /boot/grub/*

Re: [gentoo-amd64] boot Gentoo from USB key

2008-04-30 Thread Kyle Liddell
On Wed, Apr 30, 2008 at 08:43:53AM +0200, Raffaele BELARDI wrote: In the process of building an amd64 diskless box, I am trying to make a bootable USB key with no success up to now. The kernel starts to load, but panics because it is unable to find the root partition. When it stops it shows

Re: [gentoo-amd64] boot Gentoo from USB key

2008-04-30 Thread Branko Badrljica
I had the same two problems. WRT to grub, I don't remember anymore exactly what I have done, but I think I have copied sectors 1-62 from one conventional grub-bootable HDD to USB, Or maybe used some old HDD and formated it, parittioned it like the USB disk, copied /boot partition on it and

Re: [gentoo-amd64] boot Gentoo from USB key

2008-04-30 Thread Raffaele BELARDI
Thanks to you and Kyle for the hint on rootdelay, I will give it a try. Regarding the performance, it should not be a real issue in my case. I will only use the key to boot the kernel and send a Wake-on-Lan packet to a file server, then I'll mount the discs over NFS. bye, raf On Wed,

[gentoo-amd64] Re: boot Gentoo from USB key

2008-04-30 Thread Duncan
Raffaele BELARDI [EMAIL PROTECTED] posted [EMAIL PROTECTED], excerpted below, on Wed, 30 Apr 2008 08:43:53 +0200: The kernel starts to load, but panics because it is unable to find the root partition. When it stops it shows the available partitions, these include all the hard disk partitions

Re: [gentoo-amd64] boot Gentoo from USB key

2008-04-30 Thread Jason
Raffaele BELARDI wrote: ... The kernel starts to load, but panics because it is unable to find the root partition. When it stops it shows the available partitions, these include all the hard disk partitions but no USB key partition. In fact, if I omit the 'root' parameter from the grub shell the

Re: [gentoo-amd64] boot Gentoo from USB key

2008-04-30 Thread Branko Badrljica
Jason wrote: You may want to look at specifying root by it's UUID. This will prevent issues like the USB drive being /dev/sdg on one machine, /dev/sdb on another, and on reboot it all changing because the drives were detected in a different order. I have tried that and booting by UUID

Re: [gentoo-amd64] boot Gentoo from USB key

2008-04-30 Thread Jason
Branko Badrljica wrote: Jason wrote: You may want to look at specifying root by it's UUID. This will prevent issues like the USB drive being /dev/sdg on one machine, /dev/sdb on another, and on reboot it all changing because the drives were detected in a different order. I have tried that

Re: [gentoo-amd64] boot Gentoo from USB key

2008-04-30 Thread Branko Badrljica
Jason wrote: initrd is exactly how you do it. In the case of booting off of USB, there are too many variables (drive detection order, different hardware, etc) to handle on the kernel command line. An initrd gives you the flexibility to solve these problems. You could use initrd/initramfs,

Re: [gentoo-amd64] boot Gentoo from USB key

2008-04-30 Thread Jason
Branko Badrljica wrote: Jason wrote: initrd is exactly how you do it. In the case of booting off of USB, there are too many variables (drive detection order, different hardware, etc) to handle on the kernel command line. An initrd gives you the flexibility to solve these problems. You

Re: [gentoo-amd64] boot Gentoo from USB key

2008-04-30 Thread Hernan Lopez
Hello, I´m did install UtutoXS2007 (based on Gentoo 2007), FreeBsd, and I don´t have this problem. Generally the USB key when exec the post the same is (sd0) and boot, then of boot the usb key, (sd0) is the principal Hard Disk, NOT THE USB KEY, this pass of (sd0) to (sd1). Partitions: Kingston

Re: [gentoo-amd64] boot Gentoo from USB key

2008-04-30 Thread Drake Donahue
- Original Message - From: Drake Donahue [EMAIL PROTECTED] To: gentoo-amd64@lists.gentoo.org Sent: Wednesday, April 30, 2008 2:03 PM Subject: Re: [gentoo-amd64] boot Gentoo from USB key - Original Message - From: Raffaele BELARDI [EMAIL PROTECTED] To: gentoo-amd64

Re: [gentoo-amd64] boot Gentoo from USB key

2008-04-30 Thread Branko Badrljica
Hernan Lopez wrote: Hello, I´m did install UtutoXS2007 (based on Gentoo 2007), FreeBsd, and I don´t have this problem. Generally the USB key when exec the post the same is (sd0) and boot, then of boot the usb key, (sd0) is the principal Hard Disk, NOT THE USB KEY, this pass of (sd0) to (sd1).