LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-14-2018, 07:42 AM   #1
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Curious Linux startup failure


I have a moderately old netbook which is a dual boot Windows 7 / mint 18 boot.
Definitely a MBR boot.

I bought a 3TB usb3 external drive which arrived with two partitions one a small msft partition and the other a big NTFS partition. I reformatted the NTFS partition as ext4.

If I attempt to boot from the HDD (with the USB drive attached) it boots up.
If I attempt to boot from the HDD(without the USB drive attached) I get a GRUB menu and then it fails after a couple of minutes.
If I boot (without the USB drive attached) I get a GRUB menu and can boot into Windows.

I have created mount points & fstab uses UUID references.

I have tried a single user boot - but it doesn't accept the root password.
Interestingly, if I boot from the HDD, with the USB attached, the USB is recognised as sda whilst the HDD (the boot device) is recognised as sdb.

Live distros will boot from USB perfectly normally.
 
Old 07-14-2018, 10:46 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
sounds like your boot order is a bit out of whack, and possibly the disk configuration of grub doesn't include your mint installation, so it may be using the USB.

One reason for the USB storage to be identified as sda is that it is initialized by the bios, then during the initial scan the disk (not yet spun up) is second.
 
1 members found this post helpful.
Old 07-14-2018, 10:55 AM   #3
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Original Poster
Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
That's pretty close to what was going on.

Well - it's now fixed; so I shall mark this as fixed.

I thought it was a good idea to put the USB partition in my /etc/fstab file.
Well it wasn't.

I'd forgotten that USB gets automounted.
So I removed the external drive from my fstab and it was fixed.

It's a long time since I've broken Linux so unnecessary panic set in...
 
  


Reply



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
curious startup/shutdown crash oskorei Linux - Laptop and Netbook 7 02-09-2008 11:05 AM
curious iptables error on startup brutal_brad Linux - Laptop and Netbook 2 09-20-2003 05:20 PM
curious error msg on startup brutal_brad Linux - Newbie 2 09-20-2003 06:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:06 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
Open Source Consulting | Domain Registration