Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had a 1TB external HDD and I partitioned it with partition wizard. The first partition is of size 900 GB with all my data in it. I formatted the remaining 60-70GB and installed ubuntu on it. When I connected the external HDD to my laptop, the external HDD was recognized as /dev/sdb. The first partition was /dev/sdb1 and the second partition was /dev/sdb2. I formatted /dev/sdb2 as ext4 file system and installed ubuntu. During the boot loader installation, I selected /dev/sdb to install the grub boot loader. Everything worked fine up to this point.
However, when I reboot my laptop by connecting the external HDD, the control stuck at the grub rescue> prompt.
I did look at several forums, but it is more confusing when I look at the results.
Can some one help me? I have the super grub disk and boot repair disk, but haven't used them as I do not want to mess-up anything on the laptop as it is my work laptop.
On some page, I read that linux has to be installed on the first partition of the external hard drive and to have the data in the second partition. Can some one confirm?
Too little info.
Does the system boot ok without the external plugged in ?.
From a Linux system, even a liveCD, go here, run the script with the external plugged in and post the RESULTS.txt. That way we can see the boot environment.
you also have to take care into which partition that config file goes.
i think by default it goes into the /boot of the distro currently running.
i think you have to install grub to /dev/sda and then tell it to boot from /dev/sdb2. Or, you have to tell your BIOS to boot from the external hard drive first.
@syg00: The laptop boots fine into windows with out the external HDD plugged in.
@ondoho: Sorry, I did not run the sudo update-grub after the installation. I don't remember doing this after every installation. I guess Grub installed fine with out any errors reported.
I don't want to install anything into /dev/sda as it is my work laptop.BIOS is set to boot from external hard drive.
Using the BIOS for an external with a modern linux...
I boot openSUSE 13.2 from my internal HDD, but installed Kubuntu in a logical partition of an external USB HDD. The bootloader for Kubuntu is installed in the logical partition of the external HDD.
When I use a keystroke to direct the BIOS to boot from the internal HDD, it finds the SUSE copy of GRUB2 and boots. When I choose to boot from a USB device, the BIOS finds the Kubuntu copy of GRUB2 with both Kubuntu and SUSE on the boot list.
In case your BIOS can't boot from a USB device, you can use the Plop boot CD.
If you already have the boot repair software, run that and make sure you select the option to "Create BootInfo summary" and do not try to do any repairs. Post a link to the output here. It would have been useful if you had indicated which windows you have and whether it uses UEFI or not. This info will be in the boot repair output.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.