[vox-tech] grub questions

Peter Jay Salzman p at dirac.org
Mon Aug 9 14:41:03 PDT 2004


I'm going to give Grub a fair chance and learn it.  At best, I'll love
it and decide to use it.  At worst, I'll at least be able to help other
Linux users with Grub questions.

I've got a new system with 3 hard drives:

/dev/hda - 80 GB PATA drive with Debian.  I plan on taking this drive out
   and use it to hold system backups elsewhere.  I installed it
   temporarily to play with my SATA drives and the drivers that Rick
   mentions on his website.

/dev/hdg - 200 GB SATA drive with Debian.

/dev/hde - 250 GB SATA drive with Win2k.

I can boot into either Linux OS.  The problem is Win2k.  When I choose
the Win2k entry of the Grub menu, it dumps me into a bash-like prompt
(the prompt is "grub> ").  I'm not sure what to do here or how to boot
Win2k.

The hde partitions are as follows:

   /dev/hde1: bootable OS partition
   /dev/hde2: applications
   /dev/hde3: user data

Grub's menu text file looks like (I've deleted all comments and
"recovery mode" kernels):

   default		0
   timeout		300
   color cyan/blue white/blue

   title		Debian GNU/Linux, kernel 2.6.7 
   root		(hd2,0)
   kernel		/vmlinuz-2.6.7 root=/dev/hdg6 ro 
   savedefault
   boot

   title		Debian GNU/Linux, kernel 2.4.26-1-386 
   root		(hd2,0)
   kernel		/vmlinuz-2.4.26-1-386 root=/dev/hdg6 ro 
   initrd		/initrd.img-2.4.26-1-386
   savedefault
   boot

   title		Other operating systems:
   root

   title		Debian GNU/Linux, kernel 2.6.7 (on /dev/hda5)
   root		(hd0,0)
   kernel		/vmlinuz-2.6.7 root=/dev/hda5 ro 
   savedefault
   boot

   title		Debian GNU/Linux, kernel 2.4.26-1-386 (on /dev/hda5)
   root		(hd0,0)
   kernel		/vmlinuz-2.4.26-1-386 root=/dev/hda5 ro 
   initrd		/initrd.img-2.4.26-1-386
   savedefault
   boot

   title		Windows NT/2000/XP
   root		(hd1,0)
   savedefault
   makeactive
   chainloader	+1

I'd like to put "boot" at the end of the Win2k stanza, but when I type
"boot" at the grub prompt, it tells me that the kernel needs to load
before booting (huh?).


Also, I understand how Grub addresses drives and partitions.  What
exactly does it mean when you have a letter at the end of a drive /
partition like (hd0,0,a)?  The docs call "a" a "slice".  Never heard of
a slice in this context before.

Thanks!
Pete

-- 
Make everything as simple as possible, but no simpler. -- Albert Einstein
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D


More information about the vox-tech mailing list