[Eisfair] E-1 2.6.1-iso: boot-partition nicht aktiviert nach Neuinstallation?

Thomas Bork tom at eisfair.org
Mo Okt 5 20:06:41 CEST 2015


Am 05.10.2015 um 19:44 schrieb Marcus Roeckrath:

> Ich habe noch mal nachgeforscht: Mein Schulserver ist von November 2012
> nicht 2013.

Und damit MBR.
Nach der geposteten Änderung:

referencetest32 # sfdisk -l

Disk /dev/hda: 8322 cylinders, 16 heads, 63 sectors/track
sfdisk: Warning: The partition table looks like it was made
   for C/H/S=*/256/63 (instead of 8322/16/63).
For this listing I'll assume that geometry.

Units: cylinders of 8257536 bytes, blocks of 1024 bytes, counting from 0

    Device Boot Start     End   #cyls    #blocks   Id  System
/dev/hda1          0+    520-    521-   4194303+  ee  GPT
sfdisk:                 end: (c,h,s) expected (520,32,32) found 
(1023,255,63)

/dev/hda2          0       -       0          0    0  Empty
/dev/hda3          0       -       0          0    0  Empty
/dev/hda4          0       -       0          0    0  Empty
referencetest32 # sgdisk -p /dev/hda
Disk /dev/hda: 8388608 sectors, 4.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 2CDE8100-1702-432A-9766-89235697228C
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 8388574
Partitions will be aligned on 2048-sector boundaries
Total free space is 22494 sectors (11.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
    1            2048          100351   48.0 MiB    8300  boot
    2          100352          362495   128.0 MiB   8200  swap
    3          362496         8368094   3.8 GiB     8300  root
referencetest32 # sgdisk /dev/hda --attributes=1:show
1:2:1 (legacy BIOS bootable)
referencetest32 # sgdisk /dev/hda -i=1
Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem)
Partition unique GUID: 64EB1F53-0E5A-4CC1-B940-9235FDC41717
First sector: 2048 (at 1024.0 KiB)
Last sector: 100351 (at 49.0 MiB)
Partition size: 98304 sectors (48.0 MiB)
Attribute flags: 0000000000000004
Partition name: 'boot'

-- 
der tom
[eisfair-team]


Mehr Informationen über die Mailingliste Eisfair