Find the answer to your Linux question:
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 26
This is what I get in my current directory. [jdgreen@localhost ~]$ ls -l total 36 drwxr-xr-x. 2 jdgreen jdgreen 4096 2010-01-21 22:04 Desktop drwxr-xr-x. 2 jdgreen jdgreen 4096 2010-01-21 22:04 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Jan 2010
    Location
    Sellersburg, Indiana
    Posts
    11

    This is what I get in my current directory.
    [jdgreen@localhost ~]$ ls -l
    total 36
    drwxr-xr-x. 2 jdgreen jdgreen 4096 2010-01-21 22:04 Desktop
    drwxr-xr-x. 2 jdgreen jdgreen 4096 2010-01-21 22:04 Documents
    drwxr-xr-x. 2 jdgreen jdgreen 4096 2010-01-21 22:04 Downloads
    drwxr-xr-x. 2 jdgreen jdgreen 4096 2010-01-21 22:04 Music
    drwxr-xr-x. 2 jdgreen jdgreen 4096 2010-01-21 22:04 Pictures
    drwxr-xr-x. 2 jdgreen jdgreen 4096 2010-01-21 22:04 Public
    drwxr-xr-x. 2 jdgreen jdgreen 4096 2010-01-21 22:04 Templates
    drwxrwxr-x. 2 jdgreen jdgreen 4096 2010-01-22 16:21 ubuntu
    drwxr-xr-x. 2 jdgreen jdgreen 4096 2010-01-21 22:04 Videos
    [jdgreen@localhost ~]$

  2. #12
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Try this one:
    Code:
    sudo mount /dev/sda2 ubuntu
    If that works,
    Code:
    ls ubuntu/boot
    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.

  3. #13
    Just Joined!
    Join Date
    Jan 2010
    Location
    Sellersburg, Indiana
    Posts
    11
    "jdgreen is not in the sudoers file. This incident will be reported."

  4. #14
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Right then...
    su -
    <enter root password>
    mount /dev/sda2 ubuntu
    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.

  5. #15
    Just Joined!
    Join Date
    Jan 2010
    Location
    Sellersburg, Indiana
    Posts
    11
    Didn't work

  6. #16
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    What was the exact error?
    Are you able to cd into the 'ubuntu' directory?
    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.

  7. #17
    Just Joined!
    Join Date
    Jan 2010
    Location
    Sellersburg, Indiana
    Posts
    11
    What error? The original error in the first post or another error?

    BTW the other day i reinstalled ubuntu and linux and grabbed some grub.conf file information because i thought it would come in handy. I forgot all about it! Here it is I hope it helps!

    ##
    # BEGIN /etc/grub.d/10_linux ###
    menuentry "Ubuntu, Linux 2.6.31-14-generic" {
    recordfail=1
    if [ -n ${have_grubenv} ]; then save_env recordfail; fi
    set quiet=1
    insmod ext2
    set root=(hd0,2)
    search --no-floppy --fs-uuid --set 52cb8ac6-800e-4bf2-8d6e-93358fc6dfbe
    linux /boot/vmlinuz-2.6.31-14-generic root=UUID=52cb8ac6-800e-4bf2-8d6e-93358fc6dfbe ro quiet splash
    initrd /boot/initrd.img-2.6.31-14-generic
    }
    menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
    recordfail=1
    if [ -n ${have_grubenv} ]; then save_env recordfail; fi
    insmod ext2
    set root=(hd0,2)
    search --no-floppy --fs-uuid --set 52cb8ac6-800e-4bf2-8d6e-93358fc6dfbe
    linux /boot/vmlinuz-2.6.31-14-generic root=UUID=52cb8ac6-800e-4bf2-8d6e-93358fc6dfbe ro single
    initrd /boot/initrd.img-2.6.31-14-generic
    }
    ### END /etc/grub.d/10_linux ###
    I'm assuming this is all the information needed to make an entry for Ubuntu in GRUB. I just don't know how to do it....

    There is also a screenshot of my gparted screen, showing all the partitioning and such with the directory of ubuntu

    Also my menu.lst

    # 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,2)
    # kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
    # initrd /initrd-[generic-]version.img
    #boot=/dev/sda
    default=0
    timeout=0
    splashimage=(hd0,2)/grub/splash.xpm.gz
    hiddenmenu
    title Fedora (2.6.31.5-127.fc12.i686)
    root (hd0,2)
    kernel /vmlinuz-2.6.31.5-127.fc12.i686 ro root=/dev/mapper/VolGroup-lv_root noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
    initrd /initramfs-2.6.31.5-127.fc12.i686.img
    title Ubuntu (2.6.31-14)
    root (hd0,3)
    kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=52cb8ac6-800e-4bf2-8d6e-93358fc6dfbe ro quiet splash
    initrd /boot/initrd.img-2.6.31-14-generic
    Changes I have made are in RED font. With this menu.lst edit. Right before the boot loader will load, i briefly see what looks like the grub command line and it says "softstreet"? Or that's what it looks like it says, it flashes on the screen for a fraction of a second.
    Attached Images Attached Images

  8. #18
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    In which Filesystem did you format Ubuntu partition?
    Execute this
    Code:
    su -
    mount /dev/sda2 ubuntu
    ls ubuntu/boot
    In case it doesn't work, execute one of these
    Code:
    su -
    mount -t ext3 /dev/sda2  ubuntu
    mount -t ext4 /dev/sda2  ubuntu
    Make sure to type - with su.
    Its su - (minus sign).
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #19
    Just Joined!
    Join Date
    Jan 2010
    Location
    Sellersburg, Indiana
    Posts
    11
    Results:
    [jdgreen@localhost ~]$ su -
    Password:
    [root@localhost ~]# mount /dev/sda2 ubuntu
    mount: mount point ubuntu does not exist
    [root@localhost ~]# ls ubuntu/boot
    ls: cannot access ubuntu/boot: No such file or directory
    [root@localhost ~]# exit
    logout
    [jdgreen@localhost ~]$ su -
    Password:
    [root@localhost ~]# mount -t ext4 /dev/sda2 ubuntu
    mount: mount point ubuntu does not exist
    [root@localhost ~]#
    Also, since I have modified /boot/grub/grub.conf and menu.lst to include:

    title Ubuntu (2.6.31-14)
    root (hd0,3)
    kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=52cb8ac6-800e-4bf2-8d6e-93358fc6dfbe ro quiet splash
    initrd /boot/initrd.img-2.6.31-14-generic
    I now have a menu entry in the boot loader. I can select either Fedora or Ubuntu, but I get error 17 upon selecting ubuntu. I'm researching but I haven't found anything, yet.

    Oh, what do you mean filesystem? I always use EXT4 if that's what you mean...

  10. #20
    Just Joined!
    Join Date
    Jan 2010
    Location
    Sellersburg, Indiana
    Posts
    11
    Problem solved!?

    Instead of using root(hd0,3) I used root(hd0,1).

    I selected Ubuntu while in the boot menu, then I hit 'e' and changed the root(hd0,3) line to root(hd0,1). I tried (hd0,1),(hd0,2),(hd0,3),(hd0,4), until one of them finally worked. Then I hit 'b' to boot and here I am. I just need to change the grub.config file so I don't have to do this manually every time.... I'll post back in a few minutes if this didn't ultimately work.


    EDIT: Thanks for your help. Both distributions are up and running on this laptop. Next on the agenda, Windows 7, Ubuntu and MINT triple boot for my desktop!

Page 2 of 3 FirstFirst 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
  •