Re: Grub clarification

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

 



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

You have no way to boot your windows. That needs to be added to grub.conf.


/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
The above should not be Id 83. It should be proper for windows and the System should be Windows.
/dev/sda2               11    1742   1391229    83  Linux
/dev/sda3             1743    1871   1036102+   83  Linux swap
   The above should be Id 82 for the swap.
 / Solaris

No virus found in this outgoing message.
Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.13/1165 - Release Date: 12/2/2007 8:34 PM

Above is what I see wrong. Looks like no swap defined and windows is all messed up.

Karl

--

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.


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

  Powered by Linux