Re: grub

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

 



On Fri, 27 Feb 2009, Mikkel L. Ellertson wrote:

Patrick Dupre wrote:
On Fri, 27 Feb 2009, Mikkel L. Ellertson wrote:

Patrick Dupre wrote:
Hi Mikkel,

I am not sure about what you said.
Even not saying root (), grub should find the image if device.map is
correct ?
Anyway, I tried what you said by setting root (hd1,4), but stil it does
only find the image on hd0,7 !!

What I am saying is that the root directive must point to where the
kernel and initrd are on the disk. Do you have the
vmlinuz-2.6.23.17-88.fc7 kernel in the /boot directory on /dev/sdb5?

I have the same /boot directory on both disks

this is the fstab

/dev/sdb5               /               ext3    defaults        1 1
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
/dev/sdb6               /usr            ext3    defaults        1 2
/dev/sdb10              /tmp            ext3    defaults        1 2
/dev/sdb11              /home           ext3    defaults        1 2
/dev/sdb9               /usr/src        ext3    defaults        1 2
/dev/sdb7               /usr/lib        ext3    defaults        1 2
/dev/sdb8               /usr/local      ext3    defaults        1 2
/dev/sdb12              /iso-image      ext3    defaults        1 2
/dev/sdb1               swap            swap    defaults        0 0

/dev/fd0        /mnt/floppy             msdos,auto      noauto,owner

/dev/sda6       /mnt/winnt-home         ntfs    umask=0222 0 0


Ok - take a look in /boot on the new install. What kernels and
initrds do you have in there? Is vmlinuz-2.6.23.17-88.fc7 in that
directory, along with initrd-2.6.23.17-88.fc7.img?

Yes

 ls /mnt/tmp/boot -l (sdb5)
total 11396
-rw-r--r-- 1 root root   78647 2008-01-21 05:20 config-2.6.23.14-64.fc7
-rw-r--r-- 1 root root   78675 2008-05-15 05:42 config-2.6.23.17-88.fc7
drwxr-xr-x 2 root root    4096 2009-02-25 23:42 grub/
-rw------- 1 root root 2884214 2008-01-30 19:44 initrd-2.6.23.14-64.fc7.img
-rw------- 1 root root 2927589 2008-06-03 10:10 initrd-2.6.23.17-88.fc7.img
-rw-r--r-- 1 root root  845322 2008-01-21 05:20 System.map-2.6.23.14-64.fc7
-rw-r--r-- 1 root root  846522 2008-05-15 05:42 System.map-2.6.23.17-88.fc7
-rw-r--r-- 1 root root 1971712 2008-01-21 05:20 vmlinuz-2.6.23.14-64.fc7
-rw-r--r-- 1 root root 1975008 2008-05-15 05:42 vmlinuz-2.6.23.17-88.fc7

and

ls -l /boot (sda8)
-rw-r--r-- 1 root root   78647 2008-01-21 05:20 config-2.6.23.14-64.fc7
-rw-r--r-- 1 root root   78675 2008-05-15 05:42 config-2.6.23.17-88.fc7
drwxr-xr-x 2 root root    1024 2009-02-27 01:12 grub/
-rw------- 1 root root 2884214 2008-01-30 19:44 initrd-2.6.23.14-64.fc7.img
-rw------- 1 root root 2927589 2008-06-03 10:10 initrd-2.6.23.17-88.fc7.img
-rw-r--r-- 1 root root  845322 2008-01-21 05:20 System.map-2.6.23.14-64.fc7
-rw-r--r-- 1 root root  846522 2008-05-15 05:42 System.map-2.6.23.17-88.fc7
-rw-r--r-- 1 root root 1971712 2008-01-21 05:20 vmlinuz-2.6.23.14-64.fc7
-rw-r--r-- 1 root root 1975008 2008-05-15 05:42 vmlinuz-2.6.23.17-88.fc7



There are other ways to manage this, but lets take things one step
at a time and get what you are trying here working, and you
understanding what is going on.

One other point - you should really upgrade to a newer version - F9
or F10. F7 has not been supported for 6 months, and F8 is also
unsupported now.

I will make the update, as soon as I will have understand what is going on.

That is fine - I will do my best to explain things. I hope I can
teach you what is going on. It can be confusing because the root you
tell Grub to use may be different from the root directory the kernel
uses.

Ths grub version in FC10 is almost the same as in FC7

The main difference is the pretty screen you can use instead of
seeing what is going on.

Mikkel


--
---
==========================================================================
 Patrick DUPRÉ                      |   |
 Department of Chemistry            |   |    Phone: (44)-(0)-1904-434384
 The University of York             |   |    Fax:   (44)-(0)-1904-432516
 Heslington                         |   |
 York YO10 5DD  United Kingdom      |   |    email: pd520@xxxxxxxxxx
==========================================================================
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

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

  Powered by Linux