Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
I recently installed redhat beside ubuntu which in turn screwed up ubuntu's grub2 loader and now I can only start up rh. Could someone tell me how to navigate through ...
  1. #1
    Just Joined!
    Join Date
    Dec 2010
    Posts
    66

    [SOLVED] accessing another partition

    I recently installed redhat beside ubuntu which in turn screwed up ubuntu's grub2 loader and now I can only start up rh. Could someone tell me how to navigate through the file system to Ubuntu's partition? If I click on > places, I see the icon, > 250 GP Hard Disk: 116 GB Filesystem. But once inside I don't have any idea where or if ubuntu's file system is reachable. Thanks.

    One more thing, does anyone know why firefox on redhat does not spell check as I am typing as did firefox on ubuntu? Thanks again.

  2. #2
    Just Joined!
    Join Date
    Mar 2011
    Location
    Wales
    Posts
    15
    Ubuntu's partition should be accessible under Red Hat. Have you checked whether it's mounted?

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    This is a problem with RedHat and RedHat based distros. Installer doesn't detect other installed Linux distros. It's easy to add an entry of Ubuntu in RH Grub. We have to check partition structure of your Hard disk first.
    Open Terminal and execute this
    Code:
    su -
    /sbin/fdisk -l
    df -h
    Post output here.
    One more thing, does anyone know why firefox on redhat does not spell check as I am typing as did firefox on ubuntu? Thanks again.
    Are you using same version of FireFox in both distros?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined!
    Join Date
    Dec 2010
    Posts
    66

    here is the output

    Quote Originally Posted by devils casper View Post
    This is a problem with RedHat and RedHat based distros. Installer doesn't detect other installed Linux distros. It's easy to add an entry of Ubuntu in RH Grub. We have to check partition structure of your Hard disk first.
    Open Terminal and execute this
    Code:
    su -
    /sbin/fdisk -l
    df -h
    Post output here.

    Are you using same version of FireFox in both distros?

    [root@RedhatPart ~]# /sbin/fdisk -l

    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x220ed127

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 64 512000 83 Linux
    Partition 1 does not end on cylinder boundary.
    /dev/sda2 64 14910 119250944 8e Linux LVM
    /dev/sda4 14911 29631 118246432+ 5 Extended
    /dev/sda5 14911 29028 113402803+ 83 Linux
    /dev/sda6 29029 29631 4843566 82 Linux swap / Solaris

    Disk /dev/dm-0: 53.7 GB, 53687091200 bytes
    255 heads, 63 sectors/track, 6527 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/dm-0 doesn't contain a valid partition table

    Disk /dev/dm-1: 5066 MB, 5066719232 bytes
    255 heads, 63 sectors/track, 615 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/dm-1 doesn't contain a valid partition table

    Disk /dev/dm-2: 63.4 GB, 63354961920 bytes
    255 heads, 63 sectors/track, 7702 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/dm-2 doesn't contain a valid partition table
    [root@RedhatPart ~]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/vg_redhatpart-lv_root
    50G 2.4G 45G 6% /
    tmpfs 1.4G 364K 1.4G 1% /dev/shm
    /dev/sda1 485M 29M 431M 7% /boot
    /dev/mapper/vg_redhatpart-lv_home
    59G 380M 55G 1% /home
    /dev/sr0 515M 515M 0 100% /media/3479j4
    /dev/sda5 107G 77G 25G 77% /media/d6e9e5c0-57b6-4e19-8873-79c72980f966
    [root@RedhatPart ~]#

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute this
    Code:
    su -
    mkdir /media/ubuntu
    mount -t ext4 /dev/sda5 /media/ubuntu
    cd /media/ubuntu/boot
    ls
    Post output here.
    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
    Dec 2010
    Posts
    66

    output

    Quote Originally Posted by devils casper View Post
    Execute this
    Code:
    su -
    mkdir /media/ubuntu
    mount -t ext4 /dev/sda5 /media/ubuntu
    cd /media/ubuntu/boot
    ls

    Post output here.
    Code:
    [root@RedhatPart boot]# ls
    abi-2.6.31-22-generic         memtest86+.bin
    abi-2.6.32-25-generic         System.map-2.6.31-22-generic
    abi-2.6.32-26-generic         System.map-2.6.32-25-generic
    abi-2.6.32-27-generic         System.map-2.6.32-26-generic
    abi-2.6.32-28-generic         System.map-2.6.32-27-generic
    abi-2.6.32-29-generic         System.map-2.6.32-28-generic
    config-2.6.31-22-generic      System.map-2.6.32-29-generic
    config-2.6.32-25-generic      vmcoreinfo-2.6.31-22-generic
    config-2.6.32-26-generic      vmcoreinfo-2.6.32-25-generic
    config-2.6.32-27-generic      vmcoreinfo-2.6.32-26-generic
    config-2.6.32-28-generic      vmcoreinfo-2.6.32-27-generic
    config-2.6.32-29-generic      vmcoreinfo-2.6.32-28-generic
    grub                          vmcoreinfo-2.6.32-29-generic
    initrd.img-2.6.31-22-generic  vmlinuz-2.6.31-22-generic
    initrd.img-2.6.32-25-generic  vmlinuz-2.6.32-25-generic
    initrd.img-2.6.32-26-generic  vmlinuz-2.6.32-26-generic
    initrd.img-2.6.32-27-generic  vmlinuz-2.6.32-27-generic
    initrd.img-2.6.32-28-generic  vmlinuz-2.6.32-28-generic
    initrd.img-2.6.32-29-generic  vmlinuz-2.6.32-29-generic
    [root@RedhatPart boot]#
    Last edited by MikeTbob; 03-13-2011 at 06:38 PM. Reason: Fixed layout

  7. #7
    Just Joined!
    Join Date
    Dec 2010
    Posts
    66
    Quote Originally Posted by Garrett85 View Post
    Code:
    [root@RedhatPart boot]# ls
    abi-2.6.31-22-generic         memtest86+.bin
    abi-2.6.32-25-generic         System.map-2.6.31-22-generic
    abi-2.6.32-26-generic         System.map-2.6.32-25-generic
    abi-2.6.32-27-generic         System.map-2.6.32-26-generic
    abi-2.6.32-28-generic         System.map-2.6.32-27-generic
    abi-2.6.32-29-generic         System.map-2.6.32-28-generic
    config-2.6.31-22-generic      System.map-2.6.32-29-generic
    config-2.6.32-25-generic      vmcoreinfo-2.6.31-22-generic
    config-2.6.32-26-generic      vmcoreinfo-2.6.32-25-generic
    config-2.6.32-27-generic      vmcoreinfo-2.6.32-26-generic
    config-2.6.32-28-generic      vmcoreinfo-2.6.32-27-generic
    config-2.6.32-29-generic      vmcoreinfo-2.6.32-28-generic
    grub                          vmcoreinfo-2.6.32-29-generic
    initrd.img-2.6.31-22-generic  vmlinuz-2.6.31-22-generic
    initrd.img-2.6.32-25-generic  vmlinuz-2.6.32-25-generic
    initrd.img-2.6.32-26-generic  vmlinuz-2.6.32-26-generic
    initrd.img-2.6.32-27-generic  vmlinuz-2.6.32-27-generic
    initrd.img-2.6.32-28-generic  vmlinuz-2.6.32-28-generic
    initrd.img-2.6.32-29-generic  vmlinuz-2.6.32-29-generic
    [root@RedhatPart boot]#
    I did finally get access to the Ubuntu partition but I still need to get Ubuntu to load back up via grub or grub2, whatever the case needs be.

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    A lot of kernel versions have been installed in Ubuntu. Add latest version in GRUB Menu and if everything works fine, remove all other kernel versions using Synaptic.

    Open /boot/grub/grub.conf file of RedHat and add this code at the end of file :

    Code:
    title Ubuntu 10.10
    root (hd0,4)
    kernel  /boot/vmlinuz-2.6.32-29-generic ro root=/dev/sda5
    initrd  /boot/initrd.img-2.6.32-29-generic
    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

  9. #9
    Just Joined!
    Join Date
    Dec 2010
    Posts
    66

    grub.conf

    Quote Originally Posted by devils casper View Post
    A lot of kernel versions have been installed in Ubuntu. Add latest version in GRUB Menu and if everything works fine, remove all other kernel versions using Synaptic.

    Open /boot/grub/grub.conf file of RedHat and add this code at the end of file :

    Code:
    title Ubuntu 10.10
    root (hd0,4)
    kernel  /boot/vmlinuz-2.6.32-29-generic ro root=/dev/sda5
    initrd  /boot/initrd.img-2.6.32-29-generic
    Save file and reboot machine.
    I'M getting this error when I try to open the file from gnome "The file is of an unknown type", when I try to open it from the terminal as root, I get "permission denied" Thanks for working with me on this problem.

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    You must have root privileges to edit grub.conf file and you can gain those privileges through su - command.
    Code:
    su -
    nano /boot/grub/grub.conf
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 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
  •  
...