l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2004 Aug 10 10:41

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] grub questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] grub questions



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
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.