[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Partitionierung, GPT, 4-KB-Sektoren, parted, grub



On Fri, 30 Jul 2010 20:08:05 +0200, Martin Steigerwald
<Martin@lichtvoll.de> wrote:
>Mir will grad nicht in den Kopf, dass man da nicht in MiB oder GiB angeben 
>kann.

Natürlich kann man das, und parted scheint sogar ungefähr das zu tun
was man von ihm erwartet:

|root@grml ~ # parted /dev/sda mklabel gpt
|Warning: The existing disk label on /dev/sda will be destroyed and all data on
|this disk will be lost. Do you want to continue?
|Yes/No? y                                                                 
|Information: You may need to update /etc/fstab.                           
|
|root@grml ~ # parted /dev/sda mkpart ext2 1M 1G
|Information: You may need to update /etc/fstab.                           
|
|root@grml ~ # parted /dev/sda mkpart ext2 1G 2G
|Information: You may need to update /etc/fstab.                           
|
|root@grml ~ # parted /dev/sda print
|Model: ATA WDC WD1002FBYS-0 (scsi)
|Disk /dev/sda: 1000GB
|Sector size (logical/physical): 512B/512B
|Partition Table: gpt
|
|Number  Start   End     Size   File system  Name  Flags
| 1      1049kB  1000MB  999MB               ext2
| 2      1000MB  2000MB  999MB               ext2
|
|root@grml ~ # parted /dev/sda unit s print
|Model: ATA WDC WD1002FBYS-0 (scsi)
|Disk /dev/sda: 1953525168s
|Sector size (logical/physical): 512B/512B
|Partition Table: gpt
|
|Number  Start     End       Size      File system  Name  Flags
| 1      2048s     1953791s  1951744s               ext2
| 2      1953792s  3905535s  1951744s               ext2
|
|root@grml ~ #                                                                  

Aber so richtig sympatisch ist mir das nicht, ich trau dem Ding nicht,
und ob das immer so funktioniert?

Ich würde auch gerne sagen können "partition ab dort, und so groß" und
nicht "Partition ab dort bis dort".

Grüße
Marc
-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834


Reply to: