booting from usb drive

oliver oli smoerk at gmail.com
Fri Dec 3 08:38:46 UTC 2004


mkinitrd documentation gives not much help, but it seems that 
mkinitrd-cd should do the job. unfortunatly i'm doing something wrong or 
triggering a bug:

oli1:/home2/root# mkinitrd-cd /lib/modules/2.6.8-1-686/ 
initrd-usb.img-2.6.8-1-686 full 2.6.8
Creating file structure ... done
Creating device files ... done
Copying modules ...
ls: /tmp/tmp-initrd-files-3063/modules/*: No such file or directory
/usr/sbin/mkinitrd-cd: line 182: [: -gt: unary operator expected
gzip: /tmp/tmp-initrd-files-3063/modules/*: No such file or directory
oli1:/home2/root#

Matt Zimmerman wrote:
> On Thu, Dec 02, 2004 at 10:25:44PM +0100, oliver oli wrote:
> 
> 
>>i installed ubuntu on an usb hard disk, but i don't what i have to do 
>>that the kernel can mount the root partition.
>>
>>the usb drive is detected by the laptop, it boots GRUB and GRUB loads 
>>the kernel, but then i get a kernel panic.
>>
>>i booted Fedora 2 successfuly from this hard disc. there i had to modify 
>>the initrd.img (howto at http://www.simonf.com/usb/). ubuntus initrd.img 
>>looks completly different, so i have no idea where to start.
> 
> 
> Start with the documentation for the mkinitrd command.  When you get it
> working, please document it on the wiki for the benefit of others.
> 





More information about the ubuntu-users mailing list