Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
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 ...
  1. #1
    Just 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

  2. #2
    Just 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

  3. #3
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,073
    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.

  4. #4
    Linux 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.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    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

  6. #6
    Just Joined!
    Join Date
    Aug 2008
    Posts
    23
    Quote Originally Posted by jayd512 View Post
    So you're actually booting up to a functional Fedora install, right?
    If so, what is the output of
    Code:
    cat /etc/grub.conf
    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]#

  7. #7
    Just Joined!
    Join Date
    Aug 2008
    Posts
    23
    Quote Originally Posted by devils casper View Post
    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.
    the boot folder shows me nothing at all when i open it. this might be because i don't have the required permissions. how can i get them?

  8. #8
    Just Joined!
    Join Date
    Aug 2008
    Posts
    23
    Quote Originally Posted by linux_mac View Post
    the boot folder shows me nothing at all when i open it. this might be because i don't have the required permissions. how can i get them?
    yeah, i was right. i just looked at the permissions in the properties and it says "you are not the owner, so you cannot change these permissions."

  9. #9
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,073
    What you'll need to do is mount the partition that has Kubuntu.
    As root, do
    Code:
    cd /mnt
    mkdir sdax                    replace the x with the appropriate number
    mount /dev/sdax /mnt/sdax
    cat /mnt/sdax/boot/grub/menu.lst
    Then just copy the first title block into Fedora's 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.

  10. #10
    Just Joined!
    Join Date
    Aug 2008
    Posts
    23
    ok, i did the following steps:
    Code:
    cd /mnt
    mkdir /sda6
    mount /dev/sda6 mnt/sda6
    that all went fine. i was, of course root but when i did
    Code:
    cd /mnt/dev/sda6/boot/grub/menu.lst
    no such file or directory
    so i tried going to boot and that went fine. but once there, ls shows me nothing int the file.
    i don't think i have the permissions to view it.

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...