LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2007, 02:29 PM   #1
diegoandresalvarez
Member
 
Registered: Aug 2005
Location: Manizales, Colombia
Distribution: Linux Mint 17
Posts: 41

Rep: Reputation: 15
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     
+

Last edited by diegoandresalvarez; 12-16-2007 at 02:31 PM.
 
Old 12-16-2007, 02:53 PM   #2
lin_myworld
Member
 
Registered: Oct 2007
Location: India
Distribution: Ubuntu 8.04
Posts: 93

Rep: Reputation: 15
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..
 
Old 12-16-2007, 02:59 PM   #3
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
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.
 
Old 12-16-2007, 03:27 PM   #4
diegoandresalvarez
Member
 
Registered: Aug 2005
Location: Manizales, Colombia
Distribution: Linux Mint 17
Posts: 41

Original Poster
Rep: Reputation: 15
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 View Post
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..
 
  


Reply

Tags
boot, distribution, grub, multiple


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing kubuntu on ubuntu with kubuntu CD coolblue Ubuntu 6 06-30-2008 11:53 AM
Kubuntu wont load Ongeboren Ubuntu 1 06-17-2007 01:50 AM
Ndiswrapper could not load driver on kubuntu alek66 Ubuntu 1 12-01-2006 02:31 PM
Kubuntu doesnt load desktop Mark_667 Ubuntu 16 05-02-2006 09:04 AM
Installing kubuntu on ubuntu with kubuntu CD coolblue Linux - Newbie 1 07-12-2005 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration