Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: [SOLVED] help! after 5 hours troubleshooting dual boot install, still can't load eith

  1. #11
    Join Date
    Aug 2007
    Beans
    700
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: help! after 5 hours troubleshooting dual boot install, still can't load either O/

    You can access any drive that isn't encrypted with a live cd and change any files you want to. This is why having a password on your OS doesn't make it secure. Anyone with physical access to your machine can own it.
    I would rather die of thirst than drink from the cup of mediocrity.

    Get better forum search results!

  2. #12
    Join Date
    Aug 2007
    Beans
    700
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: help! after 5 hours troubleshooting dual boot install, still can't load either O/

    So you can boot the live cd and access all files on the linux partition right? Let's see if menu.lst is really there and if it's really blank. From the live cd open nautilus as root.

    Code:
    gksudo nautilus
    navigate to your linux partition which I think should be /media/sdd5. From there go to /boot/grub and see if there is a menu.lst there and if there is see if it is really blank.
    I would rather die of thirst than drink from the cup of mediocrity.

    Get better forum search results!

  3. #13
    Join Date
    May 2008
    Beans
    22

    Re: help! after 5 hours troubleshooting dual boot install, still can't load either O/

    thanks for all your help so far guys. while you were writing, i managed to open a non-blank menu.lst by navigating to the newly mounted linux boot partition and finding it in /boot/grub instead of using the terminal.

    Code:
    # menu.lst - See: grub(8), info grub, update-grub(8)
    #            grub-install(8), grub-floppy(8),
    #            grub-md5-crypt, /usr/share/doc/grub
    #            and /usr/share/doc/grub-doc/.
    
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default		0
    
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout		10
    
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    #hiddenmenu
    
    # Pretty colours
    #color cyan/blue white/blue
    
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line)  and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    #      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    
    #
    # examples
    #
    # title		Windows 95/98/NT/2000
    # root		(hd0,0)
    # makeactive
    # chainloader	+1
    #
    # title		Linux
    # root		(hd0,1)
    # kernel	/vmlinuz root=/dev/hda2 ro
    #
    
    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ##      kopt_2_6_8=root=/dev/hdc1 ro
    ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=13b341dc-770e-4d23-9e80-c1ba6e685df8 ro
    
    ## Setup crashdump menu entries
    ## e.g. crashdump=1
    # crashdump=0
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd4,4)
    
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ##      alternative=false
    # alternative=true
    
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ##      lockalternative=false
    # lockalternative=false
    
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash
    
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ##      lockold=true
    # lockold=false
    
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ##      altoptions=(recovery) single
    # altoptions=(recovery mode) single
    
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ##      howmany=7
    # howmany=all
    
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ##      memtest86=false
    # memtest86=true
    
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    
    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false
    
    ## ## End Default Options ##
    
    title		Ubuntu 8.04, kernel 2.6.24-16-generic
    root		(hd4,4)
    kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=13b341dc-770e-4d23-9e80-c1ba6e685df8 ro quiet splash
    initrd		/boot/initrd.img-2.6.24-16-generic
    quiet
    
    title		Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
    root		(hd4,4)
    kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=13b341dc-770e-4d23-9e80-c1ba6e685df8 ro single
    initrd		/boot/initrd.img-2.6.24-16-generic
    
    title		Ubuntu 8.04, memtest86+
    root		(hd4,4)
    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/sde1
    title		Microsoft Windows XP Home Edition
    root		(hd4,0)
    savedefault
    makeactive
    map		(hd0) (hd4)
    map		(hd4) (hd0)
    chainloader	+1

  4. #14
    Join Date
    Aug 2007
    Beans
    700
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: help! after 5 hours troubleshooting dual boot install, still can't load either O/

    Quote Originally Posted by pietjanjaap View Post
    First read everything you can find about grub, menu.lst

    see if you have a backup file of menu.lst(name is different), put this back, with the right name.

    Then boot normal:
    choose ubuntu: try different harddsik to start, push "e" then you can change the hd to start, hd0,0 hd0,1 hd1,0 hd1,1 , first is harddisk number, second is partion number. try all you have on haddisks.
    Same is for windows

    Let us see your menu.lst

    This is how ubuntu starts:
    - choose the harddisk to boot from.
    -grub starts(if you don't see menu, reinstall grub(with superdisk)
    -in grub choose linux/win then error, menu.lst is not good, change the haddisk numbers.


    If you boot with supergrub then you can jump to win/linux without fixing everything, if you need it fast.
    super grub is a great program

    http://www.supergrubdisk.org/
    I would rather die of thirst than drink from the cup of mediocrity.

    Get better forum search results!

  5. #15
    Join Date
    Dec 2005
    Location
    N.C.
    Beans
    4,796
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: help! after 5 hours troubleshooting dual boot install, still can't load either O/

    If your bios can be set to boot first to the drive with Ubuntu, you might try installing grub to the drive's mbr, using the instructions of Bakon Jarser, except setup (hd4):
    Code:
    sudo grub
    find /boot/grub/stage1
    this should return root (hd4,4), then:
    Code:
    root (hd4,4)
    setup (hd4)
    quit
    You should get a grub boot menu when you boot first to the Ubuntu drive, but you'll need to change the root designation...highlight the first Ubuntu entry, press "e", highlight the line with root, press "e" again, change root from (hd4,4) to (hd0,4), press "enter", then "b" to boot. This change is temporary, but if it works you can make it permanent.

    Added: I would also recommend, as was suggested, to burn a copy of SGD if you're able to boot into Ubuntu.

  6. #16
    Join Date
    Aug 2007
    Beans
    700
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: help! after 5 hours troubleshooting dual boot install, still can't load either O/

    I think we might be getting somewhere. Grub might have got a couple of numbers wrong. Are linux and windows on the same drive?
    I would rather die of thirst than drink from the cup of mediocrity.

    Get better forum search results!

  7. #17
    Join Date
    Aug 2007
    Beans
    700
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: help! after 5 hours troubleshooting dual boot install, still can't load either O/

    Quote Originally Posted by confused57 View Post
    If your bios can be set to boot first to the drive with Ubuntu, you might try installing grub to the drive's mbr, using the instructions of Bakon Jarser, except setup (hd4):
    Code:
    sudo grub
    find /boot/grub/stage1
    this should return root (hd4,4), then:
    Code:
    root (hd4,4)
    setup (hd4)
    quit
    You should get a grub boot menu when you boot first to the Ubuntu drive, but you'll need to change the root designation...highlight the first Ubuntu entry, press "e", highlight the line with root, press "e" again, change root from (hd4,4) to (hd0,4), press "enter", then "b" to boot. This change is temporary, but if it works you can make it permanent.

    Added: I would also recommend, as was suggested, to burn a copy of SGD if you're able to boot into Ubuntu.
    Wouldn't that set it up on the fourth partition of the first drive? He only has one partition on the first drive. If he was going to do that I think he'd need to change it to (hd0,0), or am I missing something?

    Edit: I like how confused answered a post by conphuzed
    Last edited by Bakon Jarser; May 25th, 2008 at 05:49 AM.
    I would rather die of thirst than drink from the cup of mediocrity.

    Get better forum search results!

  8. #18
    Join Date
    Dec 2005
    Location
    N.C.
    Beans
    4,796
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: help! after 5 hours troubleshooting dual boot install, still can't load either O/

    Quote Originally Posted by Bakon Jarser View Post
    Wouldn't that set it up on the fourth partition of the first drive? He only has one partition on the first drive. If he was going to do that I think he'd need to change it to (hd0,0), or am I missing something?
    (hd4) is the mbr of the Ubuntu drive, which is where he would need to install grub's IPL if he decides to boot first to this drive. On a computer with multiple hard drives, I feel it's easier to boot first to the Ubuntu drive, then add an entry to boot Windows on another drive.

    Edit: I like how confused answered a post by conphuzed
    Yes, I thought it was rather apropos that I attempt to assist...LOL
    Last edited by confused57; May 25th, 2008 at 05:52 AM.

  9. #19
    Join Date
    May 2008
    Beans
    22

    Re: help! after 5 hours troubleshooting dual boot install, still can't load either O/

    success! i have now booted into ubuntu. confused, this is the part of your post that i used:

    You should get a grub boot menu when you boot first to the Ubuntu drive, but you'll need to change the root designation...highlight the first Ubuntu entry, press "e", highlight the line with root, press "e" again, change root from (hd4,4) to (hd0,4), press "enter", then "b" to boot. This change is temporary, but if it works you can make it permanent.
    i didn't do the other stuff.

    *remaining issues:

    1) you mentioned i can make this permanent...how?
    2) Windows does not work (same error as before). i tried changing root (hd4,0) to (hd0,0) for Windows through grub, but this gave the same result. what should i change it to?

    thanks so much for all the help
    Last edited by conphuzed; May 25th, 2008 at 06:01 AM.

  10. #20
    Join Date
    Dec 2005
    Location
    N.C.
    Beans
    4,796
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: help! after 5 hours troubleshooting dual boot install, still can't load either O/

    Quote Originally Posted by conphuzed View Post
    success! i have now booted into ubuntu. confused, this is the part of your post that i used:



    i didn't do the other stuff. you mentioned i can make this permanent...how? also i am going to check now to see if Windows works

    thanks so much for all the help
    Glad it worked...to make it permanent, open a terminal:
    Code:
    cd /boot/grub
    sudo cp menu.lst menu.lst_backup
    gksudo gedit menu.lst
    change the root for your Ubuntu entries to (hd0,4)...also, be sure to change the line with #groot to (hd0,4).

    If Windows is on a different drive than Ubuntu, you'll need map lines, e.g.:
    Code:
    title Windows <---Use any name you like
    root (hd1,0)
    makeactive
    map (hd0) (hd1)
    map (hd1) (hd0)
    chainloader +1
    This entry would work if Windows is on the first partition of drive (hd1)...2nd partition would be (hd1,1).

    You could also try using root (hd2,0), if (hd1,0) doesn't work:
    Code:
    title Windows XP
    root (hd2,0)
    makeactive
    map (hd0) (hd2)
    map (hd2) (hd0)
    chainloader +1
    A similar entry could be made for (hd3,0), if neither of the above works...add the Windows entry to the very end of your menu.lst...after the line ###END DEBIAN AUTOMAGIC...

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

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