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

Re: Nothing but problems upgrading to Fedora Core



On Wed, 2004-05-12 at 18:11, Andre Costa wrote:
> On Wed, 12 May 2004 11:06:08 -0400
> Phil Schaffner <Philip R Schaffner NASA gov> wrote:
> 
> > Have also used GRUB since it became the default, and it has a lot more
> > functionality than LILO at the cost of additional complexity.  Have
>...snip...
> 
> Mmh... that sounds very interesting... this really looks like it could
> solve my problem (for some reason, GRUB thinks boot partition is on
> (hd0,2) even though it has been installed on (hd0,0) and /etc/grub.conf
> has "root(hd0,0)" on it.

Why do you believe "GRUB thinks boot partition is on (hd0,2) even though
it has been installed on (hd0,0)"?  If you run grub interactively as
root, does it find things that should be in /boot on (hd0,2)?

Example - (from my FC1 system):
[root radar0 root]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3             18577596   8242504   9391276  47% /
/dev/sda1                46633     26180     18045  60% /boot
/dev/sdb5             25331720   7051776  16993140  30% /alt
/dev/sdb1               132207     13809    111572  12% /alt/boot
/dev/sdc1            321298188 201297100 120001088  63% /raid0
/dev/sdc2            164486068  68511016  87619648  44% /raid
none                   1552272         0   1552272   0% /dev/shm
/dev/sda6              6854352   4647060   2207292  68% /dos
/dev/sda2              8193148   4982400   3210748  61% /w2k

[root radar0 root]# grub
Probing devices to guess BIOS drives. This may take a long time.

    GRUB  version 0.93  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the
possible
   completions of a device/filename.]

grub> find /grub/stage1
 (hd0,0)		# this is /boot for FC1
 (hd1,0)		# this is /alt/boot - old RH9 /boot

grub> find /boot/grub/stage1

Error 15: File not found	# only found if no /boot partition

grub> find /etc/fstab
 (hd0,2)		# this is / for FC1
 (hd1,4)		# this is /alt - or / for RH9 fallback

grub>

> 
> device.map only has "(hd0) /dev/hda". Should it have anything else?

Hard to say, do you have more disks? - see below...

> 
> Any new ideas will be much appreciated...
> 
> > If you want some help debugging, post some specifics from "fdisk -l",
> > GRUB config files, errors, and how you want things to work.
> 
> Here it is:
> 
> [root tissot root]# fdisk -l /dev/hda

This shows hda, but is it the only disk?  "fdisk -l" should show all the
disks if you don't specify /dev/xxx.

Example:
[root radar0 root]# fdisk -l

Disk /dev/sda: 36.9 GB, 36951490560 bytes
255 heads, 63 sectors/track, 4492 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1             1         6     48163+  83  Linux
/dev/sda2   *         7      1026   8193150    7  HPFS/NTFS
/dev/sda3          1027      3376  18876375   83  Linux
/dev/sda4          3377      4492   8964270    5  Extended
/dev/sda5          3377      3637   2096451   82  Linux swap
/dev/sda6          3638      4492   6867756    b  Win95 FAT32

Disk /dev/sdb: 36.9 GB, 36951490560 bytes
255 heads, 63 sectors/track, 4492 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1   *         1        17    136521   83  Linux
/dev/sdb2            18      1027   8112825   83  Linux
/dev/sdb4          1028      4492  27832612+   5  Extended
/dev/sdb5          1028      4231  25736098+  83  Linux
/dev/sdb6          4232      4492   2096451   82  Linux swap

Disk /dev/sdc: 500.1 GB, 500145848320 bytes
255 heads, 63 sectors/track, 60805 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdc1             1     40001 321308001   83  Linux
/dev/sdc2         40002     60805 167108130   83  Linux


> 
> Disk /dev/hda: 40.0 GB, 40060403712 bytes
> 255 heads, 63 sectors/track, 4870 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1        13    104391   83  Linux
> /dev/hda2            14      1288  10241437+  83  Linux
> /dev/hda3          1289      3200  15358140    c  Win95 FAT32 (LBA)
> /dev/hda4          3201      4870  13414275    f  Win95 Ext'd (LBA)
> /dev/hda5          3201      4730  12289693+  83  Linux
> /dev/hda6          4731      4860   1044193+  82  Linux swap
> 
> (please notice I am not the OP)

Not enough info provided to get a clue.  Should also have asked for
output of df and /etc/fstab, as well as /boot/grub/grub.conf

Phil




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