LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-19-2022, 10:51 PM   #1
Gyroman
Member
 
Registered: Nov 2014
Location: Australia
Distribution: Mint 19.1 Toshiba Satellite Pro R50-C
Posts: 108
Blog Entries: 5

Rep: Reputation: 1
Mint 19.1 install as dual boot on Win10 Toshiba Satellite Pro/ Win10 cant update/ changed boot order to Win10 first lost boot menu lost Mint


I looked up how to change boot order on dual boot system. Can't recall actual youtube video. Now Win10 boots normally with no selection menu but still when updating it mostly reports it cannot complete and has to undo everything. I can live boot from Mint USB and backed up all my Linux data files.

I tried to reinstall Mint from the USB and it stalled with a partition corrupt error. I looked at the partitions and do not know enough to decipher what to reformat to clear out Mint and start from scratch and particularly scared of breaking my Win10 access. It would be very helpful if I could restore the boot option menu and get back both.

Thank you for your assistance.
 
Old 07-19-2022, 11:22 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,788
Blog Entries: 1

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
Boot any Linux live media from USB and collect output from parted -l or fdisk -l, and from efibootmgr -v, then paste their output here between code tags.
 
1 members found this post helpful.
Old 07-20-2022, 12:30 AM   #3
Gyroman
Member
 
Registered: Nov 2014
Location: Australia
Distribution: Mint 19.1 Toshiba Satellite Pro R50-C
Posts: 108

Original Poster
Blog Entries: 5

Rep: Reputation: 1
Outputs as requested

Code:
mint@mint:~$ parted -l
mint@mint:~$ efibootmgr -v
BootCurrent: 2001
Timeout: 2 seconds
BootOrder: 2001,0005,0006,0004,0003,2002,2006,2004,2005,0002,0000,0001,3001
Boot0000  Boot Device List	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(ef276355-416b-7472-fc38-138f693f4f1f)
Boot0001  Diagnostic Menu	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(f0f01bd0-471f-82f7-80d0-70b79bffea76)
Boot0002  UiApp	FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(462caa21-7614-4503-836e-8ab6f4662331)
Boot0003* ODD	PciRoot(0x0)/Pci(0x17,0x0)/Sata(0,0,0)N.....YM....R,Y.
Boot0004* HDD/SSD	PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,0,0)N.....YM....R,Y.
Boot0005* Windows Boot Manager	HD(1,GPT,0a256cd2-d26d-420f-af95-fcf78ed17b37,0x800,0x82000)/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.}...9................
Boot0006* ubuntu	HD(1,GPT,0a256cd2-d26d-420f-af95-fcf78ed17b37,0x800,0x82000)/File(\EFI\ubuntu\shimx64.efi)
Boot2001* USB Memory	PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)N.....YM....R,Y.
Boot2002* USB ODD	.../..CJ.M=.J..'
Boot2004* LAN1	.../..CJ.M=.J..'
Boot2005* LAN2	.../..CJ.M=.J..'
Boot2006* FDD	.../..CJ.M=.J..'
Boot3001  HDD Recovery	PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,0,0)/HD(1,GPT,0a256cd2-d26d-420f-af95-fcf78ed17b37,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)/.R.e.c.o.v.e.r.y.B.C.D...
mint@mint:~$ fdisk -l
fdisk: cannot open /dev/loop0: Permission denied
fdisk: cannot open /dev/sda: Permission denied
fdisk: cannot open /dev/sdb: Permission denied
mint@mint:~$
 
Old 07-20-2022, 01:28 AM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,788
Blog Entries: 1

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
Booted to any live Linux media in UEFI mode, the following should get your Mint Grub back (without disturbing Windows bootability):
Code:
# efibootmgr -o 6,5,4,3,2002,2006,2004,2005,2,0,1,3001
Because your attempt to reinstall might have damaged the existing installation, simply having your Grub menu back might not be sufficient to boot Mint again, but Windows should still be in your Grub menu.

Apparently using what you booted you needed elevated permission to run parted and fdisk . Try again prepending sudo to each, or login as root first if possible.
 
1 members found this post helpful.
Old 07-20-2022, 01:36 AM   #5
Gyroman
Member
 
Registered: Nov 2014
Location: Australia
Distribution: Mint 19.1 Toshiba Satellite Pro R50-C
Posts: 108

Original Poster
Blog Entries: 5

Rep: Reputation: 1
Ok thanks but considering what you say i'll first run the sudo commands..

Code:
mint@mint:~$ sudo fdisk -l
Disk /dev/loop0: 1.8 GiB, 1948155904 bytes, 3804992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes




Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: B82BB3E0-C1A9-11E6-A3AA-EC21E5FE2D1F

Device          Start        End    Sectors   Size Type
/dev/sda1        2048     534527     532480   260M EFI System
/dev/sda2      534528     567295      32768    16M Microsoft reserved
/dev/sda3      567296 1585092855 1584525560 755.6G Microsoft basic data
/dev/sda4  1921261568 1924538367    3276800   1.6G Windows recovery environment
/dev/sda5  1924548608 1953521663   28973056  13.8G Windows recovery environment
/dev/sda6  1585094656 1921261567  336166912 160.3G Linux filesystem

Partition table entries are not in disk order.


Disk /dev/sdb: 3.8 GiB, 4022337024 bytes, 7856127 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7012e9a0

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdb1  *          0 3964927 3964928  1.9G  0 Empty
/dev/sdb2       3951336 3956007    4672  2.3M ef EFI (FAT-12/16/32)
mint@mint:~$ sudo parted -l
Model: ATA HGST HTS541010A9 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Warning: failed to translate partition name
Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  274MB   273MB   fat32        EFI system partition          boot, esp
 2      274MB   290MB   16.8MB               Microsoft reserved partition  msftres
 3      290MB   812GB   811GB   ntfs         Basic data partition          msftdata
 6      812GB   984GB   172GB   ext4
 4      984GB   985GB   1678MB  ntfs                                       hidden, diag
 5      985GB   1000GB  14.8GB  fat32        Basic data partition          hidden, diag


Warning: The driver descriptor says the physical block size is 2048 bytes, but
Linux says it is 512 bytes.
Ignore/Cancel? Ignore                                                     
Model: SanDisk Cruzer Blade (scsi)
Disk /dev/sdb: 16.1GB
Sector size (logical/physical): 2048B/512B
Partition Table: mac
Disk Flags: 

Number  Start   End     Size    File system  Name   Flags
 1      2048B   6143B   4096B                Apple
 2      2023MB  2025MB  2392kB               EFI


mint@mint:~$
 
Old 07-20-2022, 01:46 AM   #6
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,788
Blog Entries: 1

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
Nothing I see in post #5 suggests the efibootmgr command in comment #4 shouldn't work.
 
1 members found this post helpful.
Old 07-20-2022, 02:07 AM   #7
Gyroman
Member
 
Registered: Nov 2014
Location: Australia
Distribution: Mint 19.1 Toshiba Satellite Pro R50-C
Posts: 108

Original Poster
Blog Entries: 5

Rep: Reputation: 1
Thanks here is the result..
Code:
mint@mint:~$ sudo efibootmgr -o 6,5,4,3,2002,2006,2004,2005,2,0,1,3001
BootCurrent: 2001
Timeout: 2 seconds
BootOrder: 0006,0005,0004,0003,2002,2006,2004,2005,0002,0000,0001,3001
Boot0000  Boot Device List
Boot0001  Diagnostic Menu
Boot0002  UiApp
Boot0003* ODD
Boot0004* HDD/SSD
Boot0005* Windows Boot Manager
Boot0006* ubuntu
Boot2001* USB Memory
Boot2002* USB ODD
Boot2004* LAN1
Boot2005* LAN2
Boot2006* FDD
Boot3001  HDD Recovery
mint@mint:~$
 
Old 07-20-2022, 02:31 AM   #8
Gyroman
Member
 
Registered: Nov 2014
Location: Australia
Distribution: Mint 19.1 Toshiba Satellite Pro R50-C
Posts: 108

Original Poster
Blog Entries: 5

Rep: Reputation: 1
Thanks I think it is as you suggested.. Boot menu comes up with Ubuntu at top goes to this screen

Perform MOK management

Continue boot
Change Secure Boot state
Enroll key from disk
Enroll hash from disk

Pressing [continue] goes to [Toshiba >>>] hardware screen and stalls there. I had to do a hard power off

Selecting the third option
Win10 boots ok

I have not tried any of the other options..
If I cannot boot Mint can I reinstall it or remove it
Thanks

Last edited by Gyroman; 07-20-2022 at 03:03 AM.
 
Old 07-20-2022, 08:49 PM   #9
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,788
Blog Entries: 1

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
There should be instructions from an appropriate web search to repair Mint secure boot bootability. That's not something I've ever needed to do here.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] HowTo update Bios Toshiba Satellite Pro S300L PSSD1E floppy_stuttgart Linux - Laptop and Netbook 2 08-22-2021 03:22 PM
Upgraded to Meerkat and lost wireless on Toshiba Pro Satellite A10 Laptop graham1812 Linux - Newbie 1 04-25-2011 10:37 AM
satellite internet + VoIP or satellite internet + satellite phone rblampain Linux - Networking 2 08-27-2010 08:05 AM
First time with linux and i have Toshiba Satellite Pro 4300 Blue Wind Linux - Laptop and Netbook 1 06-02-2006 08:17 AM
Cant get OPL3sa2 on a Toshiba Satellite Pro 490cdt to work krymsunmortis Slackware 9 10-20-2003 10:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 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