LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-20-2011, 09:24 AM   #1
yewint
Member
 
Registered: Dec 2009
Posts: 57

Rep: Reputation: 15
cant boot ubuntu 10.10 from external hdd


hi all
i installed ubuntu10.10 to my external hdd using Live cd.Installation completed but cant boot from external hdd. my Bios support usb hdd and i double check boot priority list. I set usb hdd to boot first.

i also installed 10.10 to my computer and it works right away. I wonder why it caannot boot from external hdd.

have u guys successfully installed ubuntu10.10 to external hdd and does it work? Everything fines when i installed Fedora core 14 on external hdd.

any ideas please.
regards
yewint

Last edited by yewint; 01-20-2011 at 09:25 AM.
 
Old 01-20-2011, 11:10 AM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
Have you installed a bootloader on the external hard-drive? To my mind it would be simpler to run "update-grub" on your existing system, which will hopefully pick up the external hard-drive and add it to your boot menu... But you may prefer to boot straight to the external HDD
 
Old 01-20-2011, 01:22 PM   #3
yewint
Member
 
Registered: Dec 2009
Posts: 57

Original Poster
Rep: Reputation: 15
now i am posting from Fedora14. I plugined the external hdd ( which is sdb and sdb1 is primary partition) then i mount sdb1 and chroot to install Grub

Quote:
# mount /dev/sdb1 /mnt
#mount --bind /dev /mnt/dev
#mount --bind /proc /mnt proc
#chroot /mnt
Then i installed Grub with this command

Quote:
# grub-install --recheck /dev/sdb
Above command print out
Quote:
Installation finished. No error reported.
then i update grub

Quote:
#update-grub
its output
Quote:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-22-generic
Found initrd image: /boot/initrd.img-2.6.35-22-generic
Found memtest86+ image: /boot/memtest86+.bin
Cannot find list of partitions!
done
then i exit and umount /mnt and reboot the system. The problem still remains.
 
Old 01-21-2011, 11:04 AM   #4
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
I think Grub was complaining when it said "Cannot find list of partitions!"... What does
Code:
sudo fdisk -l /dev/sdb
output? Also, (re-reading your post), you're updating grub on the hard-drive which you just plugged in. I meant to run "update-grub" on your existing (/dev/sda) system. Finally, it might be worth unplugging your main hard-drive and trying to boot it like that. If it didn't boot, then you know that Ubuntu must have been installed incorrectly, or that there is a problem with booting from USB. Be aware that when you do this the /dev/sda /dev/sdb designations may change - make sure you know which drive you're working with before doing anything.

Hope some of this helps
 
Old 01-22-2011, 04:43 AM   #5
yewint
Member
 
Registered: Dec 2009
Posts: 57

Original Poster
Rep: Reputation: 15
Solved . update-grub2 fixed the problem .

The following is summary

#mount /dev/sdb1 /mnt
#mount --bind /dev /mnt/dev
#mount --bind /proc /mnt/proc
#chroot /mnt
#apt-get update
#apt-get upgrade
#grub-install --recheck /dev/sdb
#update-grub2

This link might be useful for Grub2 troubleshooting.

Last edited by yewint; 01-22-2011 at 04:53 AM.
 
Old 01-23-2011, 08:54 AM   #6
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
Well done
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I installed ubuntu 9.04 to my Maxtor external hdd. I have no internal hdd. I can boot dont33 Linux - Newbie 1 08-13-2009 05:13 PM
External ubuntu install on external USB HDD th3_tr00p3r Linux - Newbie 1 05-11-2008 03:56 PM
Installing Ubuntu on External HDD; PC has no internal HDD 449 Ubuntu 2 11-28-2007 06:12 PM
Boot from external HDD gas(tuc) Linux - Hardware 1 05-31-2007 09:14 PM
Dual boot XP(internal IDE HDD) Debian(external USB-IDE HDD) using boot.ini PolarDog Linux - Laptop and Netbook 2 07-01-2005 10:50 PM


All times are GMT -5. The time now is 02:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration