Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Change Boot Reference

  1. #1
    Join Date
    Jun 2012
    Beans
    9

    Question Change Boot Reference

    Hello, I am new to Ubuntu and Linux.
    I am trying to install Ubuntu on to a computer.
    It came with no operating systems.
    It is a RAID hard disk or something. I do not know much about that.
    I wanted to go to the usual routine of putting the install disk into the computer, booting off of it, and installing to the Hard Disk... but I ran in to a problem.
    The computer boots only from devices with operating systems already installed.
    I tried booting from the Ubuntu DVD many times, but failed.
    I decided to install Ubuntu to a USB, boot from it, and then install Ubuntu directly to the Hard Drive from there.
    So I went on a normal netbook, booted from the DVD, and installed Ubuntu to the USB. I followed the tutorial on the Ubuntu Wiki. It works fine.
    The tutorial is at:
    https://wiki.ubuntu.com/LiveUsbPendrivePersistent
    However, this tutorial says:
    You will also need to manually edit the menu.lst file of the new USB installation to change the boot references to /dev/sda, rather than /dev/sdb (or /dev/sdc etc.).
    This tutorial must be very old, for GRUB2 does not have the menu.lst it used to have. I do not know how to change the boot references with GRUB2.
    Although it says the step is not always necessary, I do not want to fail to boot into Ubuntu (Nor do I want to turn on the very loud computer too many times.) How do I change the boot reference in GRUB2 from sdb to sda?

  2. #2
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Change Boot Reference

    Welcome to the forums.

    That thread is older. Most installs to a USB stick do not require any editing to boot. But you do have to change BIOS to boot from USB flash drive. Most newer BIOS also have a one time boot key (f12 on my system) to choose what to boot. Your DVD should have worked the same way.

    This is the Ubuntu instructions to install.

    Also instructions for CD or USB
    http://www.ubuntu.com/desktop/get-ubuntu/download
    Write image or burn image not copy ISO as one large file to CD.
    http://www.ubuntu.com/download/help/...-cd-on-windows
    https://help.ubuntu.com/community/BurningIsoHowto
    https://help.ubuntu.com/community/In...n/FromUSBStick
    https://help.ubuntu.com/community/BootFromCD
    https://help.ubuntu.com/community/LiveCD
    https://help.ubuntu.com/community/BootOptions
    https://help.ubuntu.com/community/HowToMD5SUM

    If you have nVidia video card you also may have to use a boot parameter to get it to boot.
    How to set NOMODESET and other kernel boot options in grub2
    http://ubuntuforums.org/showthread.php?t=1613132
    https://help.ubuntu.com/community/BootOptions
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  3. #3
    Join Date
    Jun 2012
    Beans
    9

    Re: Change Boot Reference

    Thank you for the help.
    I will report back once I test the USB drive once more.

    Edit 8:47AM:
    I nearly broke the USB where it was installed, so I will try once I make sure that the USB isn't broken.

    This might be off-topic, but is there a way I can get my computer to realize that the Ubuntu install disk is what it is supposed to boot from? I remember having to launch the DVD after logging in to Windows to boot into the Ubuntu installer, but Windows is not installed on my computer.
    Here is a link:
    http://www.ebay.com/itm/140696037376...#ht_965wt_1272
    Maybe it is a BIOS problem.
    Last edited by sarcasticphoenix; June 20th, 2012 at 01:48 PM.

  4. #4
    Join Date
    May 2009
    Location
    rocket city,al,usa
    Beans
    659
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Change Boot Reference

    You will have to enter bios/setup and change boot order/priority to your dvd/cd drive

  5. #5
    Join Date
    Jun 2012
    Beans
    9

    Re: Change Boot Reference

    Yep, done the boot order.
    However, even if I set to boot from DVD, it will spam "No OS"
    It must be the crappy BIOS.
    I plugged in the Ubuntu flash drive...
    Boots to grub
    Says there is an error when I try to boot...
    What do I do?
    EDIT:
    Oh great, when I rebooted to get the Error Message again to write it down, the comp spammed to me (again) no operating systems found. Great.
    Please tell me ANY way I can just smash Ubuntu onto the Hard Drive.
    EDIT:
    The server boots, must be because the USB is half broken.
    The GRUB menu is all corrupted. All I see are purple and black horizontal bars. Will NOMODESET help?

    EDIT:
    Grub is fine.
    Server boots.
    Only one problem now.
    I try to boot to Ubuntu:
    error: hd0 read error
    error: no such device: a9945... I could not write it down because it exits quickly.
    I try again:
    error: no such partition.
    What?
    Last edited by sarcasticphoenix; June 20th, 2012 at 03:02 PM. Reason: Stuff changes.

  6. #6
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Change Boot Reference

    That is a RAID server, not a desktop. You always should have a working liveCD to make repairs but to install to a server you need RAID and maybe LVM drivers which are not on the Desktop install and liveCDs.

    The alternative or text based install or the server install has the RAID drivers to let you install to a RAID system.

    http://www.ubuntu.com/download/ubunt...ative-download
    There is also a link to the server install in above page. Not sure if your system is 32bit or 64bit, so be sure you have the correct version.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  7. #7
    Join Date
    Jun 2012
    Beans
    9

    Re: Change Boot Reference

    Thank you for the help.
    I followed the directions to install Ubuntu.
    I should have made a separate partition for GRUB2, for I tried to install GRUB2 when prompted, but I couldn't install. I even tried sticking a USB drive in and installing GRUB2 on to there.
    I ended up having to skip that step, but other than that, I followed all directions.
    I now have another problem.
    I try to boot from the Hard Drive after installation, but all I see is a black screen with a blinking cursor. I can press keys such as Alt, Ctrl, Del, etc. but whenever I press any other key, such as letters, it sends a beep through the speakers.
    Also, I tried to install GRUB2 afterwards with the Ubuntu DVD, but now I once again get the "No operating systems found" spam.
    Is there anything I can do? Should I re-burn the install disk?

  8. #8
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Change Boot Reference

    Did you follow oldfred's advice about installing from the Alternate CD? If you are using RAID or LVM the Alternate CD/DVD is the one to use. I don't know if you can install with a normal CD and just install GRUB from the Alternate CD.
    GRUB2

    Retired.

  9. #9
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Change Boot Reference

    I do not know RAID as it is not common for desktops, but I think you have to install grub2's boot loader to the RAID drive root not the normal sda MBR.

    To use liveCD with RAID each time you boot liveCD you will have to add the RAID drivers.
    Is able to search LVM partitions if the LVM2 package is install
    # ("apt-get install lvm2" in debian based distros)
    # Is able to search Linux Software Raid partitions (MD Raids) if
    # the "mdadm" package is installed.
    sudo apt-get install lvm2
    sudo apt-get install mdadm

    I think Boot-Repair also works.
    Boot Repair -Also handles LVM, GPT and separate /boot.:
    https://help.ubuntu.com/community/Boot-Repair
    You can repair many boot issues with this or 'Create BootInfo' report (Other Options) & post the link it creates, so we can see your exact configuration.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  10. #10
    Join Date
    Jun 2012
    Beans
    9

    Re: Change Boot Reference

    I am downloading the Boot Repair Disk and the Text Install now.
    The server is always stuck on the black screen with a blinking cursor.
    I have looked at many tutorials online which all say to use a live CD or DVD.
    However, the server seems to ignore all bootable disks now, hence I tried to boot off of the same Server ISO DVD again, and I got the No OS spam every time.
    If the Boot Repair and the Text Only do not work, is my server bricked?

    EDIT

    Neither worked.
    I am pretty sure I am
    BRICKED

    Can I take the hard drive out and plug it in to another computer? And install from there?
    Last edited by sarcasticphoenix; June 21st, 2012 at 12:09 AM.

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •