bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub repartition problem


From: Bryan Dunn
Subject: Re: grub repartition problem
Date: Mon, 07 Apr 2003 16:32:57 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830

Hi David,

Yes, I only have one disk in the system. Here are my device.map and grub.conf files:



# this device map was generated by anaconda
(fd0)     /dev/fd0
(hd0)     /dev/hda#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,9)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14)
        root (hd0,9)
        kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
        initrd /boot/initrd-2.4.18-14.img
title Win2kPro
        rootnoverify (hd0,1)
        chainloader +1


Despite the fact that my grub.conf specifies (hd0,9), grub still wants to find it's info on (hd0,5) upon boot. I manually have to tell it that it's root is (hd0,9), then it works fine.

   Thanks again,
        Bryan


David Balazic wrote:
Bryan Dunn wrote:

Hello All,

       I made a mistake. I had installed red hat 8 on my laptop and had
everything working fine with the grub boot loader. I took the default
install (and I'm not sure where that installs grub). To give myself more
swap, I repartitioned my HD, causing /dev/hd6, which was my linux
partition, to move to /dev/hda10. Now when I boot, grub thinks that
/dev/hda6 (hd0,5) is the boot partition, which it is not. I have to
maually give it the boot partition (root (hd0,9)) and then a config file
(/boot/grub/grub.conf). My grub.conf has the correct settings, but upon
boot, I think grub tries to read another config file. What do I need to
do to save my settings in grub so when I boot, it just gives me the
splash screen? I thought the default install put grub in /dev/hda1
(which is a windows partiton) and not the MBR, am I mistaken?


/boot/grub/grub.conf ?
/boot/grub/device.map ?

Do you have only one disk in the system ?




--
 ---------------------
|Bryan Dunn           |
|Aearo Company        |
|Phone: 508.764.5239  |
|address@hidden |
 ---------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]