LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-04-2024, 06:07 PM   #16
Nishtya
Member
 
Registered: Feb 2004
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280

Original Poster
Rep: Reputation: 32

Quote:
Originally Posted by colorpurple21859 View Post
That's odd all of the efibootmgr entries are from sdb1 except for this one:

Boot into ubuntu and post the output of sudo efibootmgr and sudo blkid
Code:
BootCurrent: 0004
Timeout: 2 seconds
BootOrder: 0001,0000,0002,0004,0005
Boot0000* Windows Boot Manager
Boot0001* ubuntu
Boot0002* neon
Boot0004* Manjaro
Boot0005* UEFI: Lexar SSD NS100 256GB, Partition 1
Code:
stephanie@stephanie-Inspiron-5566:~$ sudo blkid
/dev/sda3: UUID="dfbc7bcc-3573-4df6-8d67-1982f996a6f8" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="Dell" PARTUUID="157ec81e-ec09-476d-869f-aec682b80471"
/dev/loop1: TYPE="squashfs"
/dev/loop19: TYPE="squashfs"
/dev/loop27: TYPE="squashfs"
/dev/loop17: TYPE="squashfs"
/dev/loop8: TYPE="squashfs"
/dev/loop25: TYPE="squashfs"
/dev/sdb4: UUID="03bbc98f-896f-48a0-bae0-9d5cf82583d0" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="distro2" PARTUUID="5412002f-c05d-46a4-9066-9f3e1e009f63"
/dev/sdb2: UUID="41a1e6dd-91ca-48b8-983e-e23eb5ad66fb" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="distro1" PARTUUID="fb0b3751-0f44-4345-a536-0ba18274e26a"
/dev/sdb3: UUID="b85f0fc6-f8d4-4fa9-a456-1d9113a42e8f" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="backups" PARTUUID="bd816987-14ba-4829-92f0-f3f03557d0b2"
/dev/sdb1: UUID="5C3B-C536" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="837bc813-8438-41e7-ba6b-f2af19d3949f"
/dev/loop15: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop23: TYPE="squashfs"
/dev/loop13: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop21: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop0: TYPE="squashfs"
/dev/loop28: TYPE="squashfs"
/dev/loop18: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop26: TYPE="squashfs"
/dev/loop16: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/loop24: TYPE="squashfs"
/dev/sda4: UUID="cf79ff43-f465-470d-87ab-b2f2768d6738" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="neon" PARTUUID="1160ade1-ea3b-f34a-b0a2-90929c81954e"
/dev/sda2: BLOCK_SIZE="512" UUID="5D50CF4C00248925" TYPE="ntfs" PARTLABEL="windows" PARTUUID="cf22048e-40ff-4165-96b5-773300230d77"
/dev/sda5: BLOCK_SIZE="512" UUID="6C77E6CD17EB6E6C" TYPE="ntfs" PARTLABEL="Storage" PARTUUID="ee87faca-883f-4116-8d83-f59e2a013b3b"
/dev/sda1: UUID="89E2-26CF" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="3de1a57a-f04e-4771-b896-09c935589e6b"
/dev/loop14: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop22: TYPE="squashfs"
/dev/loop12: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop20: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
Sorry, didn't know if I should take out the loopback stuff. I am getting way into the deep end here. All is working and I kind of like manjaro - I never tried Arch before. I just put the cinnamon version on a ventoy pen drive and took for a spin. If we have to remove this install I might try installing it next. Gotta learn pacman I guess
 
Old 02-04-2024, 06:40 PM   #17
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Are you booting ubuntu with the external drive unplugged?
 
Old 02-04-2024, 06:45 PM   #18
Nishtya
Member
 
Registered: Feb 2004
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280

Original Poster
Rep: Reputation: 32
No it is plugged in. I can unmount it, will be in ubuntu rest of night, you want me to run again unplugged?
 
Old 02-04-2024, 07:06 PM   #19
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Yes, I was wanting you to boot into ubuntu with the usb unplugged, post the output of efibootmgr and the /etc/fstab of ubuntu. I think what is happening is when the usb is unplugged the system is booting using EFI/BOOT/Bootx64.efi file on the internal efi partition.
 
Old 02-04-2024, 07:12 PM   #20
Nishtya
Member
 
Registered: Feb 2004
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280

Original Poster
Rep: Reputation: 32
I shutdown completely, unplugged and booted. New drive is so much faster - that external is older than the laptop. You can easily tell slower boot though when it is plugged in.



Code:
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001,0000,0002,0004
Boot0000* Windows Boot Manager
Boot0001* ubuntu
Boot0002* neon
Boot0004* Manjaro

$ sudo blkid
/dev/sda3: UUID="dfbc7bcc-3573-4df6-8d67-1982f996a6f8" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="Dell" PARTUUID="157ec81e-ec09-476d-869f-aec682b80471"
/dev/loop1: TYPE="squashfs"
/dev/loop19: TYPE="squashfs"
/dev/loop27: TYPE="squashfs"
/dev/loop17: TYPE="squashfs"
/dev/loop8: TYPE="squashfs"
/dev/loop25: TYPE="squashfs"
/dev/sdb4: UUID="03bbc98f-896f-48a0-bae0-9d5cf82583d0" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="distro2" PARTUUID="5412002f-c05d-46a4-9066-9f3e1e009f63"
/dev/sdb2: UUID="41a1e6dd-91ca-48b8-983e-e23eb5ad66fb" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="distro1" PARTUUID="fb0b3751-0f44-4345-a536-0ba18274e26a"
/dev/sdb3: UUID="b85f0fc6-f8d4-4fa9-a456-1d9113a42e8f" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="backups" PARTUUID="bd816987-14ba-4829-92f0-f3f03557d0b2"
/dev/sdb1: UUID="5C3B-C536" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="837bc813-8438-41e7-ba6b-f2af19d3949f"
/dev/loop15: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop23: TYPE="squashfs"
/dev/loop13: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop21: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop0: TYPE="squashfs"
/dev/loop28: TYPE="squashfs"
/dev/loop18: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop26: TYPE="squashfs"
/dev/loop16: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/loop24: TYPE="squashfs"
/dev/sda4: UUID="cf79ff43-f465-470d-87ab-b2f2768d6738" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="neon" PARTUUID="1160ade1-ea3b-f34a-b0a2-90929c81954e"
/dev/sda2: BLOCK_SIZE="512" UUID="5D50CF4C00248925" TYPE="ntfs" PARTLABEL="windows" PARTUUID="cf22048e-40ff-4165-96b5-773300230d77"
/dev/sda5: BLOCK_SIZE="512" UUID="6C77E6CD17EB6E6C" TYPE="ntfs" PARTLABEL="Storage" PARTUUID="ee87faca-883f-4116-8d83-f59e2a013b3b"
/dev/sda1: UUID="89E2-26CF" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="3de1a57a-f04e-4771-b896-09c935589e6b"
/dev/loop14: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop22: TYPE="squashfs"
/dev/loop12: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop20: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
 
Old 02-04-2024, 07:19 PM   #21
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
run
Code:
sudo efibootmgr -v
 
Old 02-04-2024, 07:30 PM   #22
Nishtya
Member
 
Registered: Feb 2004
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by colorpurple21859 View Post
run
Code:
sudo efibootmgr -v
Code:
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001,0000,0002,0004
Boot0000* Windows Boot Manager  HD(1,GPT,3de1a57a-f04e-4771-b896-09c935589e6b,0x800,0x113000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...,................
Boot0001* ubuntu        HD(1,GPT,3de1a57a-f04e-4771-b896-09c935589e6b,0x800,0x113000)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* neon  HD(1,GPT,3de1a57a-f04e-4771-b896-09c935589e6b,0x800,0x113000)/File(\EFI\neon\shimx64.efi)
Boot0004* Manjaro       HD(1,GPT,3de1a57a-f04e-4771-b896-09c935589e6b,0x800,0x113000)/File(\EFI\Manjaro\grubx64.efi)
 
Old 02-04-2024, 07:40 PM   #23
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Post the contents of ubuntu /etc/fstab
 
Old 02-04-2024, 07:49 PM   #24
Nishtya
Member
 
Registered: Feb 2004
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by colorpurple21859 View Post
Post the contents of ubuntu /etc/fstab
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda3 during installation
UUID=dfbc7bcc-3573-4df6-8d67-1982f996a6f8 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=89E2-26CF  /boot/efi       vfat    umask=0077      0       1
 
Old 02-04-2024, 08:04 PM   #25
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
I really don't know what is happening. I would suggest run
Code:
sudo grub-install
while booted into ubuntu with the usb unplugged. If that doesn't work, boot into ubuntu with the usb plugged in and run grub-install again. Note any errors or warning messages. I have one other idea, but wait and see if this works first.
 
Old 02-04-2024, 08:10 PM   #26
Nishtya
Member
 
Registered: Feb 2004
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280

Original Poster
Rep: Reputation: 32
Code:
Installing for x86_64-efi platform.
Installation finished. No error reported.
I don't need an update-grub after? So to test if this fixed whatever, I need to boot with it plugged in and see if it will go to ubuntu's grub menu instead of manjaro's?

So I shutdown and plugged it in and booted slowly to manjaro's grub menu. What is the other idea? External is unplugged and I am in ubuntu.

Last edited by Nishtya; 02-04-2024 at 08:18 PM. Reason: result
 
Old 02-04-2024, 08:19 PM   #27
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
No need to run update-grub, and yes see if it fixes the problem.
 
Old 02-04-2024, 08:27 PM   #28
Nishtya
Member
 
Registered: Feb 2004
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280

Original Poster
Rep: Reputation: 32
It didn't fix it. With the external plugged in it booted to manjaro's grub menu.
 
Old 02-04-2024, 08:33 PM   #29
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Did you boot ubuntu from the external drive and run grub-install?

my other idea while booted into ubuntu with the external plugged in, mount the external efi partition to /boot/efi of the booted ubuntu and run grub-install

Last edited by colorpurple21859; 02-04-2024 at 08:36 PM.
 
Old 02-05-2024, 06:48 AM   #30
Nishtya
Member
 
Registered: Feb 2004
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by colorpurple21859 View Post
Did you boot ubuntu from the external drive and run grub-install?

my other idea while booted into ubuntu with the external plugged in, mount the external efi partition to /boot/efi of the booted ubuntu and run grub-install
I tried installing grub after booting it from manjaro. No change, it still boots to manjaro when the external plugged in. I am not sure about the other what with mounting efi partition of external to internal? Need specific directions not going to try and wing it. Don't I have to chroot and throw some more at it - I am kind of ready to just blow away the manjaro and the external's efi and going back to installing the trial ones to the internal's boot mgr.

I may be offline a few days and not sure where I am moving to after hospital tomorrow. Will just have to revisit some time in future. Thanks for all the help.
 
  


Reply



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
EFI System Partition: Using it as /boot versus /boot/efi MirceaKitsune Linux - General 4 04-06-2021 11:07 AM
[SOLVED] Do M.2 SSDs have have the writes issues like older sata SSDs? linux2021 Linux - Newbie 5 08-19-2020 03:35 PM
[SOLVED] Ooooy. EFI boot mmx64.efi.efi not found bulgin Linux - Newbie 12 12-20-2018 11:03 AM
resize efi question [/boot/efi] with boot flag gparted mtdew3q Fedora 4 03-19-2017 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:34 AM.

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