Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Buster not detecting external boot USB after installation

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
Danathar
Posts: 28
Joined: 2021-01-10 12:44
Been thanked: 1 time

Buster not detecting external boot USB after installation

#1 Post by Danathar »

Thanks ahead of time for anybody who can assist with this!

I have a Dell Optiplex 3020 small form factor. I attempted to install Debian Buster to an external USB and almost succeeded, but after the installer finished successfully (to an external Samsung T3) and rebooted the USB drive is not detected.

The BIOS is set to legacy and not UEFI. During the installation I actually disconnected the internal Windows SSD drive (which is also an MBR installation and not GPT because I'm paranoid...).

I'm scratching my head on this. If the BIOS is set to legacy mode and the external USB T3 installation is an old style MBR install why is it not being detected but the Buster install media on the USB was? Not sure where to go next with this. Is there something special in the Debian installer that I need to do to make the USB installed drive bootable like the installer USB was?

thanks!

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Buster not detecting external boot USB after installatio

#2 Post by Head_on_a_Stick »

The firmware ("BIOS") for some machines may require the "boot" flag to be applied to the relevant partition.
deadbang

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Buster not detecting external boot USB after installatio

#3 Post by p.H »

There is no relevant partition. The only relevant thing for BIOS boot should be the MBR boot code. Any partition will do. Even swap.
My Dell Optiplex has this bug.

Danathar
Posts: 28
Joined: 2021-01-10 12:44
Been thanked: 1 time

Re: Buster not detecting external boot USB after installatio

#4 Post by Danathar »

p.H wrote:There is no relevant partition. The only relevant thing for BIOS boot should be the MBR boot code. Any partition will do. Even swap.
My Dell Optiplex has this bug.
Is there a workaround? What did you do (or not) with your Optiplex?

Danathar
Posts: 28
Joined: 2021-01-10 12:44
Been thanked: 1 time

Re: Buster not detecting external boot USB after installatio

#5 Post by Danathar »

Head_on_a_Stick wrote:The firmware ("BIOS") for some machines may require the "boot" flag to be applied to the relevant partition.
Hmm. I guess I could compare the partitions on the USB install media and the destination installed USB drive to see if there is a boot flag difference. Which utility could tell me that?

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Buster not detecting external boot USB after installatio

#6 Post by p.H »

Danathar wrote:Is there a workaround? What did you do (or not) with your Optiplex?
The workaround was what Head_on_a_Stick suggested : set the boot flag on any partition in the MBR with fdisk or the like.

Danathar
Posts: 28
Joined: 2021-01-10 12:44
Been thanked: 1 time

Re: Buster not detecting external boot USB after installatio

#7 Post by Danathar »

p.H wrote:
Danathar wrote:Is there a workaround? What did you do (or not) with your Optiplex?
The workaround was what Head_on_a_Stick suggested : set the boot flag on any partition in the MBR with fdisk or the like.
Ok. I'll proceed with that. Assuming this is the problem, is this a bug? Or is there some reason why the boot flag was not (and is not) being set on the installed partition?

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Buster not detecting external boot USB after installatio

#8 Post by p.H »

This is a BIOS bug. The BIOS should not care about partitions, including the boot flag. Only the boot code in the MBR may care (standard DOS-like boot code does, GRUB does not).

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Buster not detecting external boot USB after installatio

#9 Post by Bulkley »

Danathar, let me propose an alternative. Since you are working with a USB install I suggest you try Antix.
Back in 2009, the antiX devs foresaw that usb flash drives would be the wave of the future for live Linux media. During the ensuing eight years antiX has been refining their live-usb technology striving to improve the live-usb experience and to find new and unique ways for making use of fast read-write live boot media.
Antix Linux

I'm not trying to chase you away. It's just that Antix has spent so much effort into USB installs that they probably have a solution for you. Make sure to follow their instructions.

Danathar
Posts: 28
Joined: 2021-01-10 12:44
Been thanked: 1 time

Re: Buster not detecting external boot USB after installatio

#10 Post by Danathar »

Bulkley wrote:Danathar, let me propose an alternative. Since you are working with a USB install I suggest you try Antix.
Back in 2009, the antiX devs foresaw that usb flash drives would be the wave of the future for live Linux media. During the ensuing eight years antiX has been refining their live-usb technology striving to improve the live-usb experience and to find new and unique ways for making use of fast read-write live boot media.
Antix Linux

I'm not trying to chase you away. It's just that Antix has spent so much effort into USB installs that they probably have a solution for you. Make sure to follow their instructions.
Yea, I'm familiar with MX and Antix. I've got them both installed on other systems. This system that I'm installing is meant to be a system that will be supported for a while with just security fixes. I was going to go with Ubuntu LTS but for some reason I had the urge to go vanilla Debian and see how far I could get on Buster.

Some updates: Using LVM during the install works. It's just doing a vanilla non-LVM install that is broke. Also, rather strange...The mouse movement on the GDM login manager seems to be in conflict or being disrupted by something. As I move the mouse around it hangs for a moment then releases...then hangs and releases. I don't get that behavior during the graphical install process, and I don't get it once I log in. Odd. I also don't get that with Ubuntu or MX Linux as well. Could this be a bug in the version of GDM that Buster ships with? I've not tried LightDM.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Buster not detecting external boot USB after installatio

#11 Post by p.H »

Danathar wrote:Using LVM during the install works. It's just doing a vanilla non-LVM install that is broke
If you used guided partitioning, one difference is that with LVM the installer creates a small /boot partition at the beginning of the drive.
Did you check with fdisk whether this partition has the boot flag set ? If yes, did you test what happens if you clear the boot flag (get a rescue media ready) ?

Danathar
Posts: 28
Joined: 2021-01-10 12:44
Been thanked: 1 time

Re: Buster not detecting external boot USB after installatio

#12 Post by Danathar »

p.H wrote:
Danathar wrote:Using LVM during the install works. It's just doing a vanilla non-LVM install that is broke
If you used guided partitioning, one difference is that with LVM the installer creates a small /boot partition at the beginning of the drive.
Did you check with fdisk whether this partition has the boot flag set ? If yes, did you test what happens if you clear the boot flag (get a rescue media ready) ?
No, but I'll give it a try and report back.

Post Reply