LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-07-2012, 10:36 PM   #1
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Ubuntu 20.04 / Manjaro
Posts: 439

Rep: Reputation: 48
My HDD's aren't being mapped right


Long story short I had 3 HDD's, now I'm down to 2. I'm running Ubuntu 10.04 on this machine and it's mounting the first drive as sdb and the second as sdc. Skipping sda. This is somehow stopping my first drive (Win) from booting. I get an error about it's UUID. Whats weird is if I run update-grub it will fix it, but then won't boot again the next day! So it's a morning ritual. I've compared my before and after grub.cfg's and don't see any difference but still can't figure out why the first drive isn't being called sda. But I think it has something to due with the fact this replaced my original sda (cloned). Any way to force rescan and reassign?

Last edited by snatale1; 02-07-2012 at 10:42 PM.
 
Old 02-08-2012, 09:14 AM   #2
WSmart
Member
 
Registered: Oct 2009
Posts: 34

Rep: Reputation: 0
UUID called in fstab?

Greetings,

Are these drives defined in your /etc/fstab file by their UUID? Just wondering because the only time I've ever seen the system change the handles like that is when the drives aren't defined in fstab or don't have the UUID's called out.

Here's an example of what an fstab entry would like which includes the UUID of the drive, and you find your UUID with this command, sudo blkid ;

UUID=5555bc5a-5dba-50b5-a5f5-55555eac55c5 /media/7133bc7a-4dba-40b5-a8f5-94375eac82c2 ext3 defaults 0 0

Pardon me if this doesn't help. I hate to answer any of these zero reply topics because if I'm wrong then I wonder if the post will get as much attention, and I'm certainly not a linux guru.

Thanks for posting.

Be real, be sober.
 
Old 02-08-2012, 10:05 AM   #3
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Ubuntu 20.04 / Manjaro
Posts: 439

Original Poster
Rep: Reputation: 48
yes, there exactly as your showing in your example
 
Old 02-08-2012, 04:24 PM   #4
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Does the UUID in your fstab match the UUID defined in the system devices?
Code:
ls -l /dev/disk/by-uuid/
Compare to fstab and adjust appropriately should they be different.
 
Old 02-09-2012, 06:54 AM   #5
WSmart
Member
 
Registered: Oct 2009
Posts: 34

Rep: Reputation: 0
your

If this is a dual boot using a controller adapter on the PCI/PCIe bus, then you could also look at the hardware configuration there. Some controllers don't want to boot fron one SATA connection or the other under different circumstances and the order of the cards on a PCI bus can cause problems too. IRQ's can be an issue with different OS's.

Could also check that the boot order in the bios is set correctly.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
memory mapped i/o and i/o mapped i/o shilpa rangappa General 1 12-14-2009 10:27 PM
Network device Memory mapped or Port mapped ?? Bignon Linux - Hardware 0 10-20-2009 08:36 AM
mapped drive problems neocontrol Linux - Networking 1 05-02-2006 01:28 AM
Mapped Drive Time out KrGAce Linux - Enterprise 0 12-06-2004 07:17 AM
My own mapped keyb (?) erickFis Slackware 4 02-19-2004 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:13 AM.

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