You are not logged in.
Pages: 1
Hi everyone. I have an old laptop with Arch installed. I would like to move the ssd with Arch from old laptop to the new one. This wouldn't be a problem if the new laptop supported legacy boot nad mbr, but it doesn't. Is it possible to create partition images, repartition the drive in gpt, restore images and boot arch (with prior modifications on needed files and services, ex. grub)? If it is can someone please point me in a right direction?
Offline
you can convert your existing ms-style partitions into gpt without loss of data with just gdisk; then ((if needed) make space space for and) create an ESP, install a bootloader and rebooot
Offline
That's great the_shiver, thanks. Do you know of a tutorial on how to convert with gdisk or is it straight forward?
Offline
it's straight forward as it's the very first thing gdisk ask you (if you want to keep mbr or convert to gpt) when it detects a msdos-style partition table on the disk you use it on
2 more things i should have mentioned in my previous post: always have a backup when fiddling with partitions just in case and you most likely have to update your fstab
Offline
You'll also want to look into the different boot managers available for UEFI before diving in, since they all have their own quirks. Gummiboot is the simplest to set up, with functionality somewhat similar to Syslinux. You can just mount the ESP as /boot, run "gummiboot install," write a simple configuration file and leave it at that. Simply using efistub is even simpler but is subject to the quirks of your particular firmware and might require a little trial-and-error; GRUB and rEFInd have more functionality, but are just a little bit more complex to set up.
Offline
What is the reason for changes in fstab? Will conversion change the partition uuid?
Offline
What is the reason for changes in fstab? Will conversion change the partition uuid?
The UUID will change when you change to the FAT32 filesystem the ESP requires --- you could use the PARTUUID instead; this remains the same when the filesystem is changed.
When I changed from "Legacy"/"BIOS" booting to UEFI, I used this guide
Offline
Guys, thanks for all the help and replies. It seems like the new laptop supports legacy boot, but it is not visible in bios. However, now I have a different issue. Arch boots just fine as expected, but how can I now get Windows8 to boot? It's on a different hard drive on GPT and EFI.
Offline
there's multiple solutions to that depending on which bootmanager you chose Archwiki - Windows and Arch dual boot
e.g. rEFInd will automagicly pick up any bootable os it can see on any connected device; for gummiboot you would have to copy over windows' bootloader to the ESP which gummiboot is installed on
OR you can use your firmwares built in bootmanager (the "press X to select device to boot from" prompt during POST) if you want your OS' completely separated
Offline
What about grub. grub-mkconfig detects the windows installation and gpt on that disk, but I get windows boot error on choosing the win from grub.
Offline
What about grub. grub-mkconfig detects the windows installation and gpt on that disk, but I get windows boot error on choosing the win from grub.
Offline
Thanks the.ridiculus.rat. In the end I went for a completely clean install on gpt with uefi. I created EFI partition as the first one in size of 512 Mb and mountedit under /boot. I installed gummiboot as bootloader. But when I restart BIOS doesn't even recognize this disk as bootable one and I cannot boot from it. Suggestions?
Last edited by Caspian (2014-05-01 20:03:50)
Offline
Pages: 1