Antonio Olivares wrote:
--- Richard Hally <rhally@xxxxxxxxxxxxxx> wrote:
Antonio Olivares wrote:
Dear all,
I have updated/upgraded the machine that was
freezing all the time to Rawhide using Fedora
Preview Iso + Updates.
There is only one gotcha. Grub is not working
correctly?
When starting up machine. IT does nothing it stays
at
GRUB
and stays there. I can successfully boot it using
livecd's to boot the partition.
I only see the line
GRUB
and that is all there is no grub prompt
grub>
I used RipLinux-5.3 and booted from the fourth
partition where Fedora resides. I was confused since
the initial kernel(Fedora 8 Pre-Release) worked, and
the entries
root=/dev/VolGroup00/LogVol00
vs
root=UUID=d82c76e1-bbe7-4a0d-94e9-711b3aea50db
That changed and I do not comprehend what happened. I
can still boot, but I wondered what happened.
I'll try your advise on Monday when I get back to the
machine and hope that that will cure it.
Thanks for your advice,
Antonio
# kernel /vmlinuz-version ro
root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.25-14.fc9.i686)
root (hd0,1)
kernel /vmlinuz-2.6.25-14.fc9.i686 ro
root=UUID=d82c76e1-bbe7-4a0d-94e9-711b3aea50db rhgb
quiet
initrd /initrd-2.6.25-14.fc9.i686.img
that grub-install /dev/sda1 may not have worked.
since that is your win xp
partition.
here is what I did:
boot from a CD that has rescue mode
do the chroot to /mnt/sysimage
run grub interactively
at the grub> prompt
grub> root (hd0,1)
grub> setup /dev/sda
grub>quit
that should put what grub needs in the MBR.
reboot
HTH
Richard
P.S. there are other emails about this in the
archives.
[students@localhost ~]$ cat /etc/fedora-release
Fedora release 9 (Sulphur)
[students@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.25-14.fc9.i686 #1
SMP Thu May 1 06:28:41 EDT 2008 i686 athlon i386
GNU/Linux
[students@localhost ~]$
I have already run grub-install /dev/sda1 from
Fedora 9 Preview DVD to make sure everything is ok.
Is there anything that looks incorrect in grub.conf
below.
BTW: Machine does not freeze anymore. Maybe it
did not like Fedora 8.
Thanks in Advanced,
Antonio
Here's smolt profile if useful/needed
http://www.smolts.org/client/show/pub_d987b6b2-71ec-4cfd-82c8-e822f9a5ec5a
(public)
Here's grub.conf and fdisk -l
[root@localhost ~]# yum update -y
Loaded plugins: refresh-packagekit
updates
| 2.4 kB 00:00
fedora
| 2.4 kB 00:00
adobe-linux-i386
| 951 B 00:00
Setting up Update Process
No Packages marked for Update
[root@localhost ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after
making changes to this file
# NOTICE: You have a /boot partition. This means
that
# all kernel and initrd paths are
relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro
root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.25-14.fc9.i686)
root (hd0,1)
kernel /vmlinuz-2.6.25-14.fc9.i686 ro
root=UUID=d82c76e1-bbe7-4a0d-94e9-711b3aea50db rhgb
quiet
initrd /initrd-2.6.25-14.fc9.i686.img
title Fedora (2.6.25-0.234.rc9.git1.fc9.i686)
root (hd0,1)
kernel /vmlinuz-2.6.25-0.234.rc9.git1.fc9.i686
ro root=UUID=d82c76e1-bbe7-4a0d-94e9-711b3aea50db
rhgb quiet
initrd
/initrd-2.6.25-0.234.rc9.git1.fc9.i686.img
title Microsoft Windows XP Pro
rootnoverify (hd0,0)
chainloader +1
[root@localhost ~]# fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xaf7caf7c
Device Boot Start End Blocks
Id System
/dev/sda1 * 1 26108 209712478+
7 HPFS/NTFS
/dev/sda2 31841 31865 200812+
83 Linux
/dev/sda3 31866 38913 56613060
8e Linux LVM
/dev/sda4 26109 31840 46042290
5 Extended
/dev/sda5 26109 26239 1052226
82 Linux swap / Solaris
/dev/sda6 26240 31840 44990001
83 Linux
Partition table entries are not in disk order
Disk /dev/dm-0: 56.8 GB, 56841207808 bytes
255 heads, 63 sectors/track, 6910 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition
table
Disk /dev/dm-1: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800
Disk /dev/dm-1 doesn't contain a valid partition
table
[root@localhost ~]#
Perhaps my explanation was not that clear.
I think you can do this from booting the liveCD.
When you are up and running the live CD go to a terminal and su - to root
then at the bash prompt type "grub" this will bring up grub in interactive
mode(the grub> prompt.)
then you can type the grub commands to reinstall grub to the MBR.
according to your grub.conf your boot partition is on (hd0,1).
that is why you give it the command "root (hd0,1)"
so that it knows that the kernel and initrd are there.
Then you give it the setup command to install the first part of grub into the MBR.
"setup /dev/sda"
by giving it sda without the 1 or 2 or whatever it will install what it needs to
the MBR and not to the first block of any partition.
I hope this is fixed for the GA release.
HTH
Richard
--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-test-list