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.
Hi guys, I recently installed Linux mint 15 cinnamon 32-bit on my 40GB external hard drive. I used an 8GB flash as a live CD, and install onto the external. the installation works just fine, but it will only boot when the 8Gb is also present at boot. from the error messages I think it is looking to boot from sdc1 at boot, but if the 8GB isn't plugged in the externals /dev/ path changes and therefore grub looks in the wrong place to boot. is there any way to edit the grub config file to make it look at the Linux installation even if other devices are removed or inserted?
side note: this problem is because of the something else partition thing during installation. I installed the boot loader on the same external hard drive, which is correct. if there is any info that can help just ask me for it..
thanks in advance
No it is nothing to do with the bios whatsoever, it is only to do with grub. it should be noted that I also have a mint installation on the internal hard drive
With flash drive connected, mount all partitions on sda, then run that should find your other mint partition, Reboot into other mint, unmount & remove flash & issue command
Thanks for the reply, let me describe what gets mounted at /dev/
sda is the internal hard drive of the PC
sdb is the 8GB usb "live CD" that i used to install LM15 on my external
sdc is my 40GB external hard drive that has LM15 on it
can I not just update grub and execute
Code:
grub-install /dev/sda
on the external?
I want the external to be able to boot without the necessity of my live CD usb being plugged in.
ie. even in a computer that has no internal hard drives
Let's see some hard data - boot the external, go get and run bootinfoscript (may even be installed in Mint by default).
Post the RESULTS.txt it generates.
the boot loader was installed to sdc TOSHIBA 40GB at time of installation
You may have told the installer to install grub to sdc but installers tend to get confused at times and incorrectly install grub. That is why LQ has so many threads about grub not booting correctly after instalation. If you boot your external Mint drive, do fdisk -l to get the dev number of the external drive then do grub-install /dev/<dev number of external mint drive> should fix grub.
You may have told the installer to install grub to sdc but installers tend to get confused at times and incorrectly install grub. That is why LQ has so many threads about grub not booting correctly after instalation. If you boot your external Mint drive, do fdisk -l to get the dev number of the external drive then do grub-install /dev/<dev number of external mint drive> should fix grub.
technically grub is installed to the correct place, the external hard drive which was sdc1 at the time, and if the 8GB is not present at boot,then i presume that it looks for sdc1 which is actually then sdb1.
Let's see some hard data - boot the external, go get and run bootinfoscript (may even be installed in Mint by default).
Post the RESULTS.txt it generates.
Hence my request for hard data - I see Mint is no longer on the internal disk.
That looks pretty lame - Ubuntu (hence Mint) disavowed the use of /dev device addresses years ago. I don't use Ubuntu (I have a Mint somewhere, so I'll go check), but I find that grub.cfg odd. The hardcoded "root=/dev/hdc1" (on the "linux" line) is the reason you need the USB in place to successfully boot the external.
Were you to change it to "root=UUID=ff5e1218-a92c-4e50-ad54-a377b057d91f", you'd probably be o.k. - but you shouldn't have to. Raise a bug against Mint.
Any particular reason you are using ext2 ?.
Last edited by syg00; 10-12-2013 at 04:11 AM.
Reason: s/Where/Were/
Hence my request for hard data - I see Mint is no longer on the internal disk.
That looks pretty lame - Ubuntu (hence Mint) disavowed the use of /dev device addresses years ago. I don't use Ubuntu (I have a Mint somewhere, so I'll go check), but I find that grub.cfg odd. The hardcoded "root=/dev/hdc1" (on the "linux" line) is the reason you need the USB in place to successfully boot the external.
Were you to change it to "root=UUID=ff5e1218-a92c-4e50-ad54-a377b057d91f", you'd probably be o.k. - but you shouldn't have to. Raise a bug against Mint.
Any particular reason you are using ext2 ?.
well the results file posted is from another computer- now before you tell me that it makes a big difference, this is the school's computer lab, in which all the pcs are identical- the internal mint is on the pc i use. but that isnt the point.
i use ext2 because it was the easiest option, and i do not think the installer had an option to make a ext3 filesystem.
so how would i go about fixing the need for the 8GB in grub.cfg?
You probably need to rerun the grub-install manually. Just because all the grub bits exist in /boot/grub doesn't mean that it's installed on the MBR or installed correctly on the MBR of the drive you're intending to boot grub from. And be sure to use UUIDs instead of /dev names. Double check the grub.cfg after update-grub to make sure it's right.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.