LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-05-2016, 11:23 AM   #16
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242

Quote:
Originally Posted by erik2282 View Post
Doing this in Windows will prompt you to re-enter your Windows activation key.
exactly:

Windows doesn't mind little changes in the hardware, a little bit at a time, a new video card, then later a new pci card of whatever. But I did that too even back when I think it was XP. I had build a completely new system, then slapped the hdd with windows on it, then windows had a conniption fit. Telling me, "oh no! I don't think so." waving its finger at me and everything, telling me that if I wanted to use it again, that I'd have to verify that that copy of Windows was actually mine.

that is why, from what I under stand windows uses UUID for.
 
Old 02-05-2016, 12:13 PM   #17
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by BW-userx View Post
what chance would it be for the UUID to change itself if set up with UUID's on one computer, then removed and put into a different computer.
That UUID is written into the filesystem or swap header by mkfs or mkswap. There are tools that can change it (e.g., tune2fs -U xxxx...), but it is not going to change just by moving the disk around.
 
Old 02-05-2016, 12:53 PM   #18
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
Quote:
Originally Posted by BW-userx View Post
all on the same hard drive. what chance would it be for the UUID to change itself if set up with UUID's on one computer, then removed and put into a different computer.

will that new (other) computer still understand what fstab is telling it ?
Depends on whether that "other" computer has a disk in it as well...

Such as plugging it in via USB and booting it...(as can be done when recovering systems)

The other/internal disk can respond first, and the USB second. In which case the USB is sdb instead of sda.
 
Old 02-05-2016, 01:09 PM   #19
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by jpollard View Post
Depends on whether that "other" computer has a disk in it as well...

Such as plugging it in via USB and booting it...(as can be done when recovering systems)

The other/internal disk can respond first, and the USB second. In which case the USB is sdb instead of sda.
so putting it in easier terms

the eairly bird gets the worm
 
Old 02-05-2016, 04:39 PM   #20
Pyrotech72
Member
 
Registered: Jan 2016
Location: Tennessee
Distribution: several, but trying to get away from systemd while keeping KDE and KVM
Posts: 45

Rep: Reputation: 11
Quote:
Originally Posted by jpollard View Post
Nope. The Linux kernel scans the controllers in parallel. Whatever disk spins up first is given the first name. Since USUALLY this is the boot drive (it is already spun up) it gets /dev/sda. However, the second disk on the same controller can then start spinning up...
I can make my SSD (my boot drive) come up as /dev/sdf if I want to just by switching some wires around after shutting down. On my machine, ALL the drives are spun up and ready within a few seconds of turning it on. With six drives on the same SATA controller, every single time channel 1 gets sda, all the way down to channel 6 having sdf. When I was setting up the SSD, it was plugged into channel 2, therefore it was sdb at the time. I can't speak to having two controllers, since I don't need a second controller... yet.

So yeah, it assigns them in channel order.

But this could be way more information that is needed by OP.
 
  


Reply

Tags
hdd, laptop



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
how to run Fedora 8 installed at external usb hdd inside the windows MaLi035 General 2 07-10-2008 09:49 AM
Can I run Knoppix without an HDD installed? Fasn8n Linux - General 1 12-29-2005 01:12 AM
swapping linux hdd between pcs epoo Linux - Hardware 5 01-06-2004 09:34 PM
Swapping hardware (Compaq laptop)..how to in linux rainman4_8 Linux - Laptop and Netbook 2 12-02-2003 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:26 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