boot debian6 from usb stick
hello everyone,
I 'm trying to boot debian 6 installed on an usb-stick.
(on a hp netbook, but I dont think that is relative.)
it is on hd0, at the first partition (I only have 1 partition), named
hd0,msdos1 (strange because it is ext2 formatted, but ok,the command root (hdO,msdos1) gives filesystem is ext2 as output)
when I start up I 'm getting a grub commandline
when I do ls I see hd0 and hd0,msdos1 (and hd1 and his windows partitions on the hd)
ls / shows me all my subdirs (including dev tmp and proc
and ls /boot lets me see my kernel and initrd
so I am able to boot with
linux /boot/vmlinuz-2.6.32-5 root=(hd0) (*1 see below)
initrd /boot/initrd-2.6.32-5
boot
kernel boots but stops at cannot access tty, job control turned off.
so I am in the debian busy box ash shell and an ls at that point shows me bin, dev,init,proc,sbin,sys,var,conf,etc,lib,root,scripts,tmp EXCEPT the /boot dir.
ls dev at that point shows me sda, sda1 and sdb and a lot of tty s (amongst the rest)
what is the solution to make it go on and boot completely?
what is the right grub command for me or even better:
what do I put in /boot/grub/menu.lst so I don t have to start the kernel from the grub command line anymore
------------------
/boot/grub/menu.lst
default 0
timeout 10
kopt=root=UUID=869c78d1-6437-4d2d-9fd2-1c518a9fb0e8 ro rootdelay=10
## controls how many kernels should be put into the menu.lst
howmany=all
title Debian GNU/Linux, kernel 2.6.32-5-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.32-5-686 root=UUID=869c78d1-6437-4d2d-9fd2-1c518a9fb0e8 ro
initrd /boot/initrd.img-2.6.32-5-686
*2 see below
---------------
more info: (and questions :-))
*1: I also tried with root=(hd0,0) en (hd0,msdos)but it gives the same unwanted result)
*2: I also tried with:
title Debian GNU/Linux, kernel 2.6.32-5-686
kernel (hd0,0)/boot/vmlinuz-2.6.32-5 root=/dev/hda0 ro
initrd (hd0,0)/boot/initrd.img-2.6.32-5
but that didn t work either..
** I have grub-legacy GRand Unified Bootloader (Legacy version) installed and NOT grub2 because I dont know anything about it. so I dont have an grub.cfg
Last edited by drum159; 03-03-2011 at 05:59 AM.
|