Results 1 to 10 of 21
i had Kubuntu 8.10 with KDE 4.0 interface and i decided to try out fedora to see if i liked it and wanted to eventually switch. i've done so many ...
- 09-19-2009 #1Just Joined!
- Join Date
- Aug 2008
- Posts
- 23
installed dual boot fedora and lost Kubuntu
i had Kubuntu 8.10 with KDE 4.0 interface and i decided to try out fedora to see if i liked it and wanted to eventually switch. i've done so many dual boot systems with Kubuntu and not had any problems that i decided not to back up my system this time before running the installation. after running the installation and shrinking my hard drive (200 gb) by 80 gigs, i rebooted to find that Kubuntu was no longer bootable.
the first time i booted into fedora, disk utility popped up with a message that said "1 or more hard drives is failing". i ran the test that it recommended and found no problems. then i ran the longer test and still found no problems. i've rebooted a few times and have not been able to see Kubuntu in the boot loader options.
if you need any more information i will be happy to provide it. my question, obviously, is how can i retrieve my Kubuntu partition. it is still there but is not bootable. what do i do
- 09-19-2009 #2Just Joined!
- Join Date
- Aug 2008
- Posts
- 23
this is the output of fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a35f1
Device Boot Start End Blocks Id System
/dev/sda1 1 124 995998+ 83 Linux
/dev/sda2 125 24321 194362402+ 5 Extended
/dev/sda5 125 248 995998+ 82 Linux swap / Solaris
/dev/sda6 249 11084 87040000 83 Linux
/dev/sda7 * 11084 11110 204799+ 83 Linux
/dev/sda8 11110 24321 106121540 8e Linux LVM
Disk /dev/dm-0: 103.3 GB, 103381204992 bytes
255 heads, 63 sectors/track, 12568 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 5284 MB, 5284823040 bytes
255 heads, 63 sectors/track, 642 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
- 09-19-2009 #3
So you're actually booting up to a functional Fedora install, right?
If so, what is the output of
Code:cat /etc/grub.conf
Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 09-20-2009 #4Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 1,946
If you don't see Kubuntu in the menul options of the bootloader I would assume you installed Fedora Grub to the master boot record. Fedora does not usually put entries in menu.lst file, you need to do that manually.
Check your menu.lst or grub.conf files as suggested above.
- 09-20-2009 #5
As yancek already mentioned, Fedora installer doesn't add entries of other installed Linux distros in its GRUB. You have to edit its grub.conf file manually.
* Boot up Fedora and mount root partition of Kubuntu.
* Open /boot/grub/menu.lst file of Kubuntu and copy first title block ( title, root, kernel and initrd lines ).
* Open /boot/grub/grub.conf file of Fedora and add Kubuntu's title block in it.
Save file and reboot machine.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-20-2009 #6Just Joined!
- Join Date
- Aug 2008
- Posts
- 23
here is the output of cat /etc/grub.conf
Code:[root@frankenbox ryan]# cat /etc/grub.conf # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,6) # kernel /vmlinuz-version ro root=/dev/mapper/vg_frankenbox-lv_root # initrd /initrd-version.img #boot=/dev/sda default=0 timeout=30 splashimage=(hd0,6)/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.30.5-43.fc11.i686.PAE) root (hd0,6) kernel /vmlinuz-2.6.30.5-43.fc11.i686.PAE ro root=/dev/mapper/vg_frankenbox-lv_root rhgb quiet initrd /initrd-2.6.30.5-43.fc11.i686.PAE.img [root@frankenbox ryan]#
- 09-20-2009 #7Just Joined!
- Join Date
- Aug 2008
- Posts
- 23
- 09-20-2009 #8Just Joined!
- Join Date
- Aug 2008
- Posts
- 23
- 09-20-2009 #9
What you'll need to do is mount the partition that has Kubuntu.
As root, do
Then just copy the first title block into Fedora's menu.lst.Code:cd /mnt mkdir sdax replace the x with the appropriate number mount /dev/sdax /mnt/sdax cat /mnt/sdax/boot/grub/menu.lst
Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 09-20-2009 #10Just Joined!
- Join Date
- Aug 2008
- Posts
- 23
ok, i did the following steps:
that all went fine. i was, of course root but when i didCode:cd /mnt mkdir /sda6 mount /dev/sda6 mnt/sda6
so i tried going to boot and that went fine. but once there, ls shows me nothing int the file.Code:cd /mnt/dev/sda6/boot/grub/menu.lst no such file or directory
i don't think i have the permissions to view it.


Reply With Quote
