public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] New system doesn't recognized bootable devise
@ 2023-11-20  1:25 thelma
  2023-11-20  8:28 ` Michael
  0 siblings, 1 reply; 7+ messages in thread
From: thelma @ 2023-11-20  1:25 UTC (permalink / raw
  To: Gentoo mailing list

I transferred my old Sata SSD Intel-SSD from my ATOM computer to Iintel i5, Asus H610 motherboard.

Bios recognized both drives:

AHCI: Sata6G_1: Intel SSDSC2BF480A5 (this is the transferred drive bootable)
and
NVME: Samsung SSD 970 (this is new one not formated)

But under Bios Boot Menu my transferred intel ssd is not recognized as bootable drive.
Any solutions?
Is it a Boot Menu Setting?
I can post a picture.

-- 
Thelma


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] New system doesn't recognized bootable devise
  2023-11-20  1:25 [gentoo-user] New system doesn't recognized bootable devise thelma
@ 2023-11-20  8:28 ` Michael
  2023-11-20 17:44   ` thelma
  0 siblings, 1 reply; 7+ messages in thread
From: Michael @ 2023-11-20  8:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 798 bytes --]

On Monday, 20 November 2023 01:25:09 GMT thelma@sys-concept.com wrote:
> I transferred my old Sata SSD Intel-SSD from my ATOM computer to Iintel i5,
> Asus H610 motherboard.
> 
> Bios recognized both drives:
> 
> AHCI: Sata6G_1: Intel SSDSC2BF480A5 (this is the transferred drive bootable)
> and
> NVME: Samsung SSD 970 (this is new one not formated)
> 
> But under Bios Boot Menu my transferred intel ssd is not recognized as
> bootable drive. Any solutions?
> Is it a Boot Menu Setting?
> I can post a picture.

The EFI boot on the MoBo must be set to Legacy Bios or EFI, depending on the 
partition table type of your SSD (MBR Vs GPT).

To set this you should enable the CSM (Compatibility Support Module) in the 
Boot Menu of the MoBo and then look into the Boot Configuration submenu 
choices.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] New system doesn't recognized bootable devise
  2023-11-20  8:28 ` Michael
@ 2023-11-20 17:44   ` thelma
  2023-11-20 18:26     ` Michael
  0 siblings, 1 reply; 7+ messages in thread
From: thelma @ 2023-11-20 17:44 UTC (permalink / raw
  To: gentoo-user

On 11/20/23 01:28, Michael wrote:
> On Monday, 20 November 2023 01:25:09 GMT thelma@sys-concept.com wrote:
>> I transferred my old Sata SSD Intel-SSD from my ATOM computer to Iintel i5,
>> Asus H610 motherboard.
>>
>> Bios recognized both drives:
>>
>> AHCI: Sata6G_1: Intel SSDSC2BF480A5 (this is the transferred drive bootable)
>> and
>> NVME: Samsung SSD 970 (this is new one not formated)
>>
>> But under Bios Boot Menu my transferred intel ssd is not recognized as
>> bootable drive. Any solutions?
>> Is it a Boot Menu Setting?
>> I can post a picture.
> 
> The EFI boot on the MoBo must be set to Legacy Bios or EFI, depending on the
> partition table type of your SSD (MBR Vs GPT).
> 
> To set this you should enable the CSM (Compatibility Support Module) in the
> Boot Menu of the MoBo and then look into the Boot Configuration submenu
> choices.

The CSM (Compatibility Support Module) in the Boot Menu is greyed out.
It is Asus h610i Motherboard, and according for CSM to be enabled it needs dedicated graphic card;
I don't have one, using Intel i5 CPU graphic.

Is it possible to boot strap and re-partition /boot sector so the motherboard will recognize it without dedicated graphic card?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] New system doesn't recognized bootable devise
  2023-11-20 17:44   ` thelma
@ 2023-11-20 18:26     ` Michael
  2023-11-20 19:44       ` thelma
  2023-11-20 23:49       ` thelma
  0 siblings, 2 replies; 7+ messages in thread
From: Michael @ 2023-11-20 18:26 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2846 bytes --]

On Monday, 20 November 2023 17:44:48 GMT thelma@sys-concept.com wrote:
> On 11/20/23 01:28, Michael wrote:
> > On Monday, 20 November 2023 01:25:09 GMT thelma@sys-concept.com wrote:
> >> I transferred my old Sata SSD Intel-SSD from my ATOM computer to Iintel
> >> i5,
> >> Asus H610 motherboard.
> >> 
> >> Bios recognized both drives:
> >> 
> >> AHCI: Sata6G_1: Intel SSDSC2BF480A5 (this is the transferred drive
> >> bootable) and
> >> NVME: Samsung SSD 970 (this is new one not formated)
> >> 
> >> But under Bios Boot Menu my transferred intel ssd is not recognized as
> >> bootable drive. Any solutions?
> >> Is it a Boot Menu Setting?
> >> I can post a picture.
> > 
> > The EFI boot on the MoBo must be set to Legacy Bios or EFI, depending on
> > the partition table type of your SSD (MBR Vs GPT).
> > 
> > To set this you should enable the CSM (Compatibility Support Module) in
> > the
> > Boot Menu of the MoBo and then look into the Boot Configuration submenu
> > choices.
> 
> The CSM (Compatibility Support Module) in the Boot Menu is greyed out.
> It is Asus h610i Motherboard, and according for CSM to be enabled it needs
> dedicated graphic card; I don't have one, using Intel i5 CPU graphic.

This is weird.  What does a dedicated graphics card have to do with the 
partitioning scheme of a storage device?  :-/

I don't have access to your MoBo to know its quirks, so can't help with 
specifics.


> Is it possible to boot strap and re-partition /boot sector so the
> motherboard will recognize it without dedicated graphic card?

The first thing to establish is if your SSD is using MBR partitioning, or GPT:  

fdisk -l /dev/sda | grep 'Disklabel type'

will output "dos" for MBR, or "gpt" for GPT.  I suspect your SSD is using MBR.

You could convert the MBR to GPT, but ... there is a good chance of wiping the 
disk and losing data.  Therefore, first create a full disk backup before you 
attempt anything else.  Then also create a backup of your MBR for good measure 
using dd, or sfdisk:

dd if=/dev/sda of=backup.mbr bs=512 count=1

or 

sfdisk --dump /dev/sda > MBR_backup.txt

You can restore the above to get your existing disk with its existing MBR 
partitions, if things do not work out as anticipated.

I am not aware of any scripts or automatic tools to do the MBR to GPT 
conversion, but the approach you can use is to boot with a LiveUSB, convert 
the partition table with gdisk[1] from MBR to GPT, recreate the partitions 
with *exactly* the same start and finish sectors, make sure there is a FAT32 
partition to be used as the UEFI boot partition and marked as partition type 
EF00, before you install GRUB (or your bootloader) in this partition.

For a more detailed approach check the steps described by the developer of 
gptfdisk[2].

[1] sys-apps/gptfdisk
[2] https://www.rodsbooks.com/gdisk/mbr2gpt.html

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] New system doesn't recognized bootable devise
  2023-11-20 18:26     ` Michael
@ 2023-11-20 19:44       ` thelma
  2023-11-20 23:49       ` thelma
  1 sibling, 0 replies; 7+ messages in thread
From: thelma @ 2023-11-20 19:44 UTC (permalink / raw
  To: gentoo-user

On 11/20/23 11:26, Michael wrote:
> On Monday, 20 November 2023 17:44:48 GMT thelma@sys-concept.com wrote:
>> On 11/20/23 01:28, Michael wrote:
>>> On Monday, 20 November 2023 01:25:09 GMT thelma@sys-concept.com wrote:
>>>> I transferred my old Sata SSD Intel-SSD from my ATOM computer to Iintel
>>>> i5,
>>>> Asus H610 motherboard.
>>>>
>>>> Bios recognized both drives:
>>>>
>>>> AHCI: Sata6G_1: Intel SSDSC2BF480A5 (this is the transferred drive
>>>> bootable) and
>>>> NVME: Samsung SSD 970 (this is new one not formated)
>>>>
>>>> But under Bios Boot Menu my transferred intel ssd is not recognized as
>>>> bootable drive. Any solutions?
>>>> Is it a Boot Menu Setting?
>>>> I can post a picture.
>>>
>>> The EFI boot on the MoBo must be set to Legacy Bios or EFI, depending on
>>> the partition table type of your SSD (MBR Vs GPT).
>>>
>>> To set this you should enable the CSM (Compatibility Support Module) in
>>> the
>>> Boot Menu of the MoBo and then look into the Boot Configuration submenu
>>> choices.
>>
>> The CSM (Compatibility Support Module) in the Boot Menu is greyed out.
>> It is Asus h610i Motherboard, and according for CSM to be enabled it needs
>> dedicated graphic card; I don't have one, using Intel i5 CPU graphic.
> 
> This is weird.  What does a dedicated graphics card have to do with the
> partitioning scheme of a storage device?  :-/
> 
> I don't have access to your MoBo to know its quirks, so can't help with
> specifics.
> 
> 
>> Is it possible to boot strap and re-partition /boot sector so the
>> motherboard will recognize it without dedicated graphic card?
> 
> The first thing to establish is if your SSD is using MBR partitioning, or GPT:
> 
> fdisk -l /dev/sda | grep 'Disklabel type'
> 
> will output "dos" for MBR, or "gpt" for GPT.  I suspect your SSD is using MBR.
> 
> You could convert the MBR to GPT, but ... there is a good chance of wiping the
> disk and losing data.  Therefore, first create a full disk backup before you
> attempt anything else.  Then also create a backup of your MBR for good measure
> using dd, or sfdisk:
> 
> dd if=/dev/sda of=backup.mbr bs=512 count=1
> 
> or
> 
> sfdisk --dump /dev/sda > MBR_backup.txt
> 
> You can restore the above to get your existing disk with its existing MBR
> partitions, if things do not work out as anticipated.
> 
> I am not aware of any scripts or automatic tools to do the MBR to GPT
> conversion, but the approach you can use is to boot with a LiveUSB, convert
> the partition table with gdisk[1] from MBR to GPT, recreate the partitions
> with *exactly* the same start and finish sectors, make sure there is a FAT32
> partition to be used as the UEFI boot partition and marked as partition type
> EF00, before you install GRUB (or your bootloader) in this partition.
> 
> For a more detailed approach check the steps described by the developer of
> gptfdisk[2].
> 
> [1] sys-apps/gptfdisk
> [2] https://www.rodsbooks.com/gdisk/mbr2gpt.html

Thanks for the fints, I'll try it this weekend, and post a feedback.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] New system doesn't recognized bootable devise
  2023-11-20 18:26     ` Michael
  2023-11-20 19:44       ` thelma
@ 2023-11-20 23:49       ` thelma
  2023-11-21  0:08         ` Michael
  1 sibling, 1 reply; 7+ messages in thread
From: thelma @ 2023-11-20 23:49 UTC (permalink / raw
  To: gentoo-user


On 11/20/23 11:26, Michael wrote:
[snip]
> 
> The first thing to establish is if your SSD is using MBR partitioning, or GPT:
> 
> fdisk -l /dev/sda | grep 'Disklabel type'
> 
> will output "dos" for MBR, or "gpt" for GPT.  I suspect your SSD is using MBR.

  fdisk -l /dev/sda | grep 'Disklabel type'

is showing "DOS" not MBR, does it change anything.

Booting from Gparted is showing:
Boot partition is - ext2
swap
and root/  - ext4

I was thinking to boot strap the disk /dev/sda/ and partition it to GPT/UEFI if I have gdisk installed on this computer.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] New system doesn't recognized bootable devise
  2023-11-20 23:49       ` thelma
@ 2023-11-21  0:08         ` Michael
  0 siblings, 0 replies; 7+ messages in thread
From: Michael @ 2023-11-21  0:08 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1169 bytes --]

On Monday, 20 November 2023 23:49:14 GMT thelma@sys-concept.com wrote:
> On 11/20/23 11:26, Michael wrote:
> [snip]
> 
> > The first thing to establish is if your SSD is using MBR partitioning, or
> > GPT:
> > 
> > fdisk -l /dev/sda | grep 'Disklabel type'
> > 
> > will output "dos" for MBR, or "gpt" for GPT.  I suspect your SSD is using
> > MBR.
>   fdisk -l /dev/sda | grep 'Disklabel type'
> 
> is showing "DOS" not MBR, does it change anything.

Please read again what I wrote above, if the partition table is of the MBR 
type then the fdisk output is indeed "dos".


> Booting from Gparted is showing:
> Boot partition is - ext2
> swap
> and root/  - ext4
> 
> I was thinking to boot strap the disk /dev/sda/ and partition it to GPT/UEFI
> if I have gdisk installed on this computer.

The UEFI MoBo firmware will not boot any .efi image from an ext2 partition.  
It requires a FAT32 partition in which GRUB must be installed:

https://wiki.gentoo.org/wiki/EFI_System_Partition
https://wiki.gentoo.org/wiki/GRUB
https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader

Don't forget to create a backup of your data, before you embark on this 
exercise.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-11-21  0:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-20  1:25 [gentoo-user] New system doesn't recognized bootable devise thelma
2023-11-20  8:28 ` Michael
2023-11-20 17:44   ` thelma
2023-11-20 18:26     ` Michael
2023-11-20 19:44       ` thelma
2023-11-20 23:49       ` thelma
2023-11-21  0:08         ` Michael

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox