swapping HDD w/linux already installed -- will it still run on a different LapTop?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
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.
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.
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.
Distribution: several, but trying to get away from systemd while keeping KDE and KVM
Posts: 45
Rep:
Quote:
Originally Posted by jpollard
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.