How to boot from an EUFI original or clone Linux partition
Re: How to boot from an EUFI original or clone Linux partiti
Fingers crossed!!!
Re: How to boot from an EUFI original or clone Linux partiti
brucebne wrote:
> 1.
> The copy operation of the Mint original partition to free space using
> BootIt EUFI began painfully slowly...and was unlikely to finish under 20
> minutes.
Weird. I just did a Copy of Mint 19.1 with IFU (in BIU) and it took 14 seconds.
> 1.
> The copy operation of the Mint original partition to free space using
> BootIt EUFI began painfully slowly...and was unlikely to finish under 20
> minutes.
Weird. I just did a Copy of Mint 19.1 with IFU (in BIU) and it took 14 seconds.
Re: How to boot from an EUFI original or clone Linux partiti
Brian K wrote:
> Fingers crossed!!!
OK,
Regarding ESP 'SYSTEM",
I copied /EFI/ubuntu/*.* to /EFI/unbuntu.002/
then changed /ubuntu.002/grub.cfg to the UUID of the Mint clone partition.
I then rebooted into both Mint original and clone partitions, and did sudo update-grub in both.
This made no difference to the grub menu that BIU passes me to.
I then went into BIU and made a new boot menu item for Mint clone, using /EFI/ubuntu.002/grubx64.efi as the boot loader.
However, when selected, this
gave a fleeting error
"warning: unable to point EUFI to current boot item (1h 0h)"
then leaves me at a grub command line prompt.
????
> Fingers crossed!!!
OK,
Regarding ESP 'SYSTEM",
I copied /EFI/ubuntu/*.* to /EFI/unbuntu.002/
then changed /ubuntu.002/grub.cfg to the UUID of the Mint clone partition.
I then rebooted into both Mint original and clone partitions, and did sudo update-grub in both.
This made no difference to the grub menu that BIU passes me to.
I then went into BIU and made a new boot menu item for Mint clone, using /EFI/ubuntu.002/grubx64.efi as the boot loader.
However, when selected, this
gave a fleeting error
"warning: unable to point EUFI to current boot item (1h 0h)"
then leaves me at a grub command line prompt.
????
Re: How to boot from an EUFI original or clone Linux partiti
Brian K wrote:
> brucebne wrote:
>
> > 1.
> > The copy operation of the Mint original partition to free space using
> > BootIt EUFI began painfully slowly...and was unlikely to finish under 20
> > minutes.
>
> Weird. I just did a Copy of Mint 19.1 with IFU (in BIU) and it took 14 seconds.
hmmmm.... I note Terabyte support posted this re UEFI partition access speeds
viewtopic.php?f=2&t=2963#p16004
> brucebne wrote:
>
> > 1.
> > The copy operation of the Mint original partition to free space using
> > BootIt EUFI began painfully slowly...and was unlikely to finish under 20
> > minutes.
>
> Weird. I just did a Copy of Mint 19.1 with IFU (in BIU) and it took 14 seconds.
hmmmm.... I note Terabyte support posted this re UEFI partition access speeds
viewtopic.php?f=2&t=2963#p16004
Re: How to boot from an EUFI original or clone Linux partiti
brucebne wrote:
>
> Regarding ESP 'SYSTEM",
> I copied /EFI/ubuntu/*.* to /EFI/unbuntu.002/
ubuntu should have been ubuntu.001
>
> Regarding ESP 'SYSTEM",
> I copied /EFI/ubuntu/*.* to /EFI/unbuntu.002/
ubuntu should have been ubuntu.001
Re: How to boot from an EUFI original or clone Linux partiti
Bruce,
Using your instructions, slightly altered, I've copied a Linux partition and booted it from the BIU Boot Menu. I did all edits in IFL and used copy/paste. I didn't have to type uuid's.
My cryptic notes are here...
copy the linux partition
create ubuntu.111 (using Paul's lines)
boot ifl
terminal
blkid
maximize screen (to get partition eg /dev/mvme1n1p20)
e2fsck -vfy /dev/mvme1n1p20
uuidgen
copy uuid (ctrl-c)
tune2fs /dev/nvme1n1p20 -U f0acce91-a416-474c-8a8c-43f3ed3768f9 (f0acce91-a416-474c-8a8c-43f3ed3768f9 is copy/pasted from uuidgen) ?use mouse
wait, don't press y
leave terminal open
mount p20 as mnt1
mount esp as mnt2
editor
tbu/mnt1/etc/fstab (might have to ctrl-c the terminal again)
save
tbu/mnt1/boot/grub/grub.cfg (paste the uuid)
search, replace, ..., replace all
paste the new UUID in Replace before copy/paste the old from the text
replace all
save
edit ubuntu.111
/tbu/mnt2/EFI/ubuntu.111/grub.cfg (might have to ctrl-c the terminal again)
save
create boot item from ubuntu.111
boot ubuntu.111
sudo update-grub (might not be necessary)
Using your instructions, slightly altered, I've copied a Linux partition and booted it from the BIU Boot Menu. I did all edits in IFL and used copy/paste. I didn't have to type uuid's.
My cryptic notes are here...
copy the linux partition
create ubuntu.111 (using Paul's lines)
boot ifl
terminal
blkid
maximize screen (to get partition eg /dev/mvme1n1p20)
e2fsck -vfy /dev/mvme1n1p20
uuidgen
copy uuid (ctrl-c)
tune2fs /dev/nvme1n1p20 -U f0acce91-a416-474c-8a8c-43f3ed3768f9 (f0acce91-a416-474c-8a8c-43f3ed3768f9 is copy/pasted from uuidgen) ?use mouse
wait, don't press y
leave terminal open
mount p20 as mnt1
mount esp as mnt2
editor
tbu/mnt1/etc/fstab (might have to ctrl-c the terminal again)
save
tbu/mnt1/boot/grub/grub.cfg (paste the uuid)
search, replace, ..., replace all
paste the new UUID in Replace before copy/paste the old from the text
replace all
save
edit ubuntu.111
/tbu/mnt2/EFI/ubuntu.111/grub.cfg (might have to ctrl-c the terminal again)
save
create boot item from ubuntu.111
boot ubuntu.111
sudo update-grub (might not be necessary)
Last edited by Brian K on Mon Feb 04, 2019 4:12 am, edited 1 time in total.
Re: How to boot from an EUFI original or clone Linux partiti
Brian K wrote:
> brucebne wrote:
>
> >
> > Regarding ESP 'SYSTEM",
> > I copied /EFI/ubuntu/*.* to /EFI/unbuntu.002/
>
> ubuntu should have been ubuntu.001
Now that's a conundrum.
Before this experiment,
There was and remains only a /EFI/ubuntu/ folder on ESP.
BUT...the BIU boot item for Mint original partition, uses /EFI/ubuntu.001/ !!!???
I don't understand why.
> brucebne wrote:
>
> >
> > Regarding ESP 'SYSTEM",
> > I copied /EFI/ubuntu/*.* to /EFI/unbuntu.002/
>
> ubuntu should have been ubuntu.001
Now that's a conundrum.
Before this experiment,
There was and remains only a /EFI/ubuntu/ folder on ESP.
BUT...the BIU boot item for Mint original partition, uses /EFI/ubuntu.001/ !!!???
I don't understand why.
Re: How to boot from an EUFI original or clone Linux partiti
brucebne wrote:
>> >
>
> I don't understand why.
It due to "Rename Directory".
In booted Linux it is ubuntu. Offline it is ubuntu.001. In BIU it is ubuntu.001.
>> >
>
> I don't understand why.
It due to "Rename Directory".
In booted Linux it is ubuntu. Offline it is ubuntu.001. In BIU it is ubuntu.001.
Re: How to boot from an EUFI original or clone Linux partiti
Brian K wrote:
> brucebne wrote:
> >> >
> >
> > I don't understand why.
>
> It due to "Rename Directory".
> In booted Linux it is ubuntu. Offline it is ubuntu.001. In BIU it is ubuntu.001.
ke? wow...more gotchas for noobs!
So I go to ESP and change Mint clone's boot loader folder from /EFI/ubuntu.002 to *.001
Then reboot
....and progress!!!
BIU automatically made a boot item using a bootloader at /EFI/ubuntu.002/
and it works.....well it passes to a grub menu.....but one that puts Mint original at top of list.
So then I reboot wondering what the menu item using /EFI/ubuntu.001/ is doing
....it still passes to a grub menu, but has switched order of Mint OSs, having Mint clone at top of list.
Never mind. I'll swap the names of the boot menu items, and do a 0sec timeout for each Mint grub.cfg.....and I'll be booting successfully straight into each partition.
Thanks for your help on this Brian. Not an intuitive process by any means....until now! ANd only took about a week!
_____________________________________________
Meanwhile, I'll be looking for a solution to why BIU does slow copy operations on my system, when it's imaging/restoring ops are so blisteringly fast.
> brucebne wrote:
> >> >
> >
> > I don't understand why.
>
> It due to "Rename Directory".
> In booted Linux it is ubuntu. Offline it is ubuntu.001. In BIU it is ubuntu.001.
ke? wow...more gotchas for noobs!
So I go to ESP and change Mint clone's boot loader folder from /EFI/ubuntu.002 to *.001
Then reboot
....and progress!!!
BIU automatically made a boot item using a bootloader at /EFI/ubuntu.002/
and it works.....well it passes to a grub menu.....but one that puts Mint original at top of list.
So then I reboot wondering what the menu item using /EFI/ubuntu.001/ is doing
....it still passes to a grub menu, but has switched order of Mint OSs, having Mint clone at top of list.
Never mind. I'll swap the names of the boot menu items, and do a 0sec timeout for each Mint grub.cfg.....and I'll be booting successfully straight into each partition.
Thanks for your help on this Brian. Not an intuitive process by any means....until now! ANd only took about a week!
_____________________________________________
Meanwhile, I'll be looking for a solution to why BIU does slow copy operations on my system, when it's imaging/restoring ops are so blisteringly fast.
Re: How to boot from an EUFI original or clone Linux partiti
It's your method. Congratulations. But I'd love it to be simpler.