RE: Grub clarification

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

 



On Mon, 2007-12-03 at 18:33 -0800, Daniel B. Thurman wrote:
> >From: fedora-list-bounces@xxxxxxxxxx
> >[mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of Karl Larsen
> >Sent: Monday, December 03, 2007 1:14 PM
> >To: For users of Fedora
> >Subject: Re: Grub clarification
> >
> >
> >Gordon Messmer wrote:
> >> Daniel B. Thurman wrote:
> >>>
> >>> Taking the defaults w/o any changes, I proceed and completed
> >>> the installation.
> >>>
> >>> On reboot,  GRUB fails to find the drive.
> >>
> >> Before you rebooted, you should have been able to switch to 
> >a shell to 
> >> examine the installed system.  If you can mount that drive, you 
> >> should.  Otherwise, get to the shell to check the contents of 
> >> /boot/grub/device.map.  What's in there?
> >>
> >> What's the full text of grub's error?
> >>
> >    I would like to see both grub.conf and /etc/fstab and just be sure 
> >show us # fdisk /dev/sda. These will tell us what's wrong. You 
> >can look 
> >too :-)
> >
> >
> 
> grub.conf:
> 
> # grub.conf generated by anaconda
> #
> # Notice ... blah blah..
> # NOTICE ... blah blah..
> #  blah blah..
> #	root (hd0,0)
> #	kernel /vmliniz-version ro root=/dev/sda2
> #	initrd /initrd-version.img
> #boot=/dev/sda1
> default=0
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title fedora (2.6.23.1-42.fc8)
> 	root (hd0,0)
> 	kernel /vmlinuz-2.6.23.1-42.fc8 ro root=LABEL=/ rhgb quiet
> 	initrd /initrd--2.6.23.1-42.fc8.img
> 
> /etc/fstab:
> LABEL=/		/		ext3		defaults		1 1
> LABEL=/boot		/boot		ext3		defaults		1 2
> tmpfs			/dev/shm	tmpfs		defaults		0 0
> devpts		/dev/pts	devpts	gid=5,mode=620	0 0
> sysfs			/sys		sysfs		defaults		0 0
> proc			/proc		proc		defaults		0 0
> LABEL=swap-sda3	swap		ext3		defaults		1 2
> 
> fdisk -l /dev/sda:
> 
> Disk /dev/sda: 15.3GB 15393079296 bytes
> 255 heads, 63 sectors/track, 1871 cylinders
> Units = Cylinders of 16065 * 512 = 8225280 bytes
> Disk Identifier: 0x0005b9df
> 
>    Device   Boot     Start     End     Blocks   Id  System
> /dev/sda1      *         1      10     80293+   83  Linux
> /dev/sda2               11    1742   1391229    83  Linux
> /dev/sda3             1743    1871   1036102+   83  Linux swap / Solaris
----
just for S&G's

try booting DVD or cd and going to rescue mode...

once you get command line,

chroot /mnt/sysimage
grub-install /dev/sda
exit
exit

and see if it boots

Craig


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux