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

Re: how to put another distro's stanza in menu.lst




This solved the problem:
1. Booted in to my Debian system.

2. Did
#> grub-install /dev/sda13

where /dev/sda13 is the other distro's partition(in my case it is Fedora Core 9) which has /boot .

3. Rebooted and selected Fedora's kernel and it worked okay.

Regards

On Mon, Oct 13, 2008 at 10:38 AM, H.S. <hs.samix@gmail.com> wrote:
Hello,

I just installed Fedora Core 9 alongside Debian. During the installation
I did not update grub and chose not to install grub since I wanted to
retain my Debian grub configuration. I have done this before. I just
change Debian's grub to put in the relevant stanzas for my FC kernel
(was FC8 till today).

Here is my relevant stanza now in my Debian's grub's menu.lst:
title   Fedora 9, kernel 2.6.25-14.fc9.i686
       root      (hd0,12)
       kernel    /boot/vmlinuz-2.6.25-14.fc9.i686   ro
root=UUID=3cfc63bf-9e84-49a3-90ad-3fa623141200 rhgb quiet vga=792 selinux=0
       initrd    /boot/initrd-2.6.25-14.fc9.i686.img
       savedefault


FC9's / partition is /dev/sda13 and its home is /dev/sda14 (swap is
/dev/sda12).

Its /etc/fstab is:
UUID=3cfc63bf-9e84-49a3-90ad-3fa623141200 /   ext3    defaults     1 1
UUID=4d049c49-6b8a-4cc6-9e42-87c1526094ad /home  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
UUID=f6df95d2-3f58-41f7-b906-a0f01c61f401 swap  swap  defaults     0 0



If I select FC9's kernel, it reports something about bad file descriptor
and doesn't boot.

The contents of /dev/sda13/boot are:
-rw-r--r-- 1 root root   86348 2008-05-01 06:34 config-2.6.25-14.fc9.i686
drwxr-xr-x 3 root root    4096 2008-10-12 20:01 efi
drwxr-xr-x 2 root root    4096 2008-04-07 13:32 grub
-rw------- 1 root root 2700907 2008-10-12 20:07
initrd-2.6.25-14.fc9.i686.img
-rw-r--r-- 1 root root  892575 2008-05-01 06:34
System.map-2.6.25-14.fc9.i686
-rwxr-xr-x 1 root root 2088288 2008-05-01 06:34 vmlinuz-2.6.25-14.fc9.i686

BTW, this is the first time I seeing executable permissions in vmlinux.

Any idea what I need to fix? This system worked with fc8.

Regards.


--

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: