LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   After installing Kubuntu .10 I cannot load my Fedora 4 (https://www.linuxquestions.org/questions/linux-newbie-8/after-installing-kubuntu-10-i-cannot-load-my-fedora-4-a-607144/)

diegoandresalvarez 12-16-2007 01:29 PM

After installing Kubuntu .10 I cannot load my Fedora 4
 
Hello!

My situation is the following:

I bought a new hard disk and I installed on it Kubuntu 7.10

In my old hard disk I have a boot partition, windows and Fedora 4.

Kubuntu 7.10, overwrote my boot partition, and know I can access windows and Kubuntu, but not Fedora 4. How can I load it again?

I have been reading all possible in internet, but I have not been successful.

Thanks for all help possible,

Diego

Some info:


PHP Code:

daa@caspaloca:~$ sudo fdisk -l

Disk 
/dev/hda81.9 GB81964302336 bytes
255 heads
63 sectors/track9964 cylinders
Units 
cylinders of 16065 512 8225280 bytes
Disk identifier
0x0003ea17

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        4982    40017883+   c  W95 FAT32 (LBA)
/
dev/hda2            4983        4995      104422+  83  Linux
/dev/hda3            4996        9964    39913492+  8e  Linux LVM

Disk 
/dev/hdb160.0 GB160041885696 bytes
255 heads
63 sectors/track19457 cylinders
Units 
cylinders of 16065 512 8225280 bytes
Disk identifier
0x09e9fad3

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1       19269   154778211   83  Linux
/dev/hdb2           19270       19457     1510110    5  Extended
/dev/hdb5           19270       19457     1510078+  82  Linux swap Solaris
daa
@caspaloca:~$ 


PHP Code:

daa@caspaloca:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hdb1 UUID=44d34aca-a862-4a4c-99b8-b2ba480527cb /               ext3    defaults,errors=remount-ro 0       1
# /dev/hdb5 UUID=6b41fa1e-577b-4889-8bda-db07aaced571 none            swap    sw              0       0
/dev/hdd        /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/hdc        /media/cdrom1   udf,iso9660 user,noauto,exec 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec 0       0
/dev/VolGroup00/LogVol00 /media/fedora  ext3
/dev/hda1       /media/windows          vfat
daa
@caspaloca:~$ 

I added the last two lines to /etc/fstab. I can access without any problem my Fedora and Windows partitions



And finally, some important lines of /boot/grub/menu.lst
PHP Code:

daa@caspaloca:~$ cat /boot/grub/menu.lst

...

title           Ubuntu 7.10kernel 2.6.22-14-generic
root            
(hd1,0)
kernel          /boot/vmlinuz-2.6.22-14-generic root=UUID=44d34aca-a862-4a4c-99b8-b2ba480527cb ro quiet splash
initrd          
/boot/initrd.img-2.6.22-14-generic
quiet

title           Ubuntu 7.10
kernel 2.6.22-14-generic (recovery mode)
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.22-14-generic root=UUID=44d34aca-a862-4a4c-99b8-b2ba480527cb ro single
initrd          
/boot/initrd.img-2.6.22-14-generic

title           Ubuntu 7.10
memtest86+
root            (hd1,0)
kernel          /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title           Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title           Microsoft Windows XP Professional
root            
(hd0,0)
savedefault
makeactive
chainloader     
+


lin_myworld 12-16-2007 01:53 PM

to boot fedeora from grub just asdd the following lines at the botton of the menu.lst file.

tittle fedeora 4
root (hd0,1)
chainloader +1
boot

and save the file..

ranger_nemo 12-16-2007 01:59 PM

Did you move the old drive from hda to hdb? That might cause a little trouble. I don't remember if FC4 used direct partition mapping or partition labels.

Boot to Kubuntu and mount the partitions of hdb to find out which was /boot. Then, go to the old /boot/grub/menu.lst and see what entries there are. Copy the first one to the new menu.lst. You might need to edit it to point to the old hard-drive, specific'ly the "root (hd0,0)" line. If the kernel line has "root=LABEL=/", then you might not need to.

diegoandresalvarez 12-16-2007 02:27 PM

ranger_nemo, lin_myworld thanks a lot for your time and help!!!

The solution suggested by lin_myworld worked!!!


Thanks a lot!!!



Quote:

Originally Posted by lin_myworld (Post 2992431)
to boot Fedora from grub just add the following lines at the bottom of the menu.lst file.

title Fedora Core 4
root (hd0,1)
chainloader +1
boot

and save the file..



All times are GMT -5. The time now is 01:58 PM.