Installed from USB stick now can only but *from* the USB stick

Edwin Moore edwinmmoore at gmail.com
Thu Sep 25 20:19:21 BST 2008


2008/9/25 David Whyte <david.whyte at gmail.com>
>
> Sorry for the long and technical post.
>
> I installed Ubuntu Intrepid Alpha 6 on my new Dell 910 netbook.  To do
> this, I used a USB memory stick with the mini.iso on it and installed
> by sucking the packages from the net.  I did it this way rather than
> using a full disk image because I use approx to cache packages.
>
> The install went quite well however, I have now noticed that I need to
> have the USB stick in the USB port and manually select to boot from it
> if I actually want Ubuntu to boot up.  If I didn't do it this way, it
> would simply try and network boot, ignoring the hard disk completely.
> I have since set the 'boot' flag on the HDD using GParted and it at
> least tries to boot from that HDD now, but complains that there is no
> valid Operating System.
>
> Looking at my drives, the USB stick is recognised as /dev/sdb and the
> HDD is /dev/sda as you would expect.  /dev/sda does have a proper boot
> folder etc.  The only real anomoly I can see is that in the file
> /boot/grub/menu.lst the 'root' option for each menu entry is set to
> '(hd1,0)'.  Is this normal?

(hd1,0) typically refers to the second hdd i.e. sdb

>
> Any ideas of how to fix this problem.  If I need to re-install, I can
> do that now I have all the packages cached but I would rather not.

A reinstall is not necessary.
When you have booted up, open a terminal.

Type:  sudo grub
then: find /boot/grub/stage1

You should get an output like (hd0,x) where x is whatever partition
your /boot folder is on.
You will need to use this output below.

Now type: root (hd0,x)
then: setup (hd0)

thats it! you should be able to boot off that drive now.
If it still says no available operating system you can type: sudo update-grub
This will ensure the menu.lst file is up to date

HTH,
Edwin Moore

>
> Regards,
> Whytey
>
> --
> ubuntu-au mailing list
> ubuntu-au at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-au



More information about the ubuntu-au mailing list