Portál AbcLinuxu, 12. května 2025 08:22
/boot
a zapamatuj si to (např pro /dev/hda3
je to (hd0,2)
).root to_co_sis_měl_zapamatovat setup (hd0)
sfdisk -d /dev/hda | sfdisk --no-reread -H255 /dev/hda
[root@vlado ~]# sfdisk -l
Disk /dev/hda: 38792 cylinders, 16 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Warning: The partition table looks like it was made
for C/H/S=*/255/63 (instead of 38792/16/63).
For this listing I'll assume that geometry.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
+partition table
[root@vlado ~]# sfdisk -l -H255 /dev/hda
Warning: HDIO_GETGEO says that there are 16 heads
Disk /dev/hda: 38792 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
+partition table
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.