[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SS4000E - moving OS to new disk



* Bob Stewart <bob@evoria.net> [2015-11-07 03:40]:
> I originally installed Squeeze to an old 200GB drive.  Now that it's
> working properly, how do I move everything to a new drive without
> having to reinstall?  I've verified that the boot drive can be in
> any of the 4 slots, so I'm guessing that the UUIDs for "/" and
> "/boot" are stored in flash.  Does flash know where the partitions
> start or just the UUIDs it's looking for?  IOW, can I just copy "/"
> and "/boot" to the new drive and change the new partitions' UUIDs? 
> That doesn't sound likely, so...

flash-kernel looks at /etc/fstab for the root device (usually an UUID
these days) and writes it into the initramfs which is then written to
flash.  So yes, if the new partitions have the same UUID, it should
boot - at least that's the theory. :)

-- 
Martin Michlmayr
http://www.cyrius.com/


Reply to: