[Bug 260366] Re: Sfdisk importation failed
luckymae
luckymae.aaa at gmail.com
Sat Jun 23 22:52:27 UTC 2012
Bitchassez stop wasting your time with Ubuntu. This won't be fixed.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/260366
Title:
Sfdisk importation failed
Status in “util-linux” package in Ubuntu:
New
Bug description:
Binary package hint: util-linux
Hello,
I tried to copy partition table from /dev/sda to /dev/sdd with this :
sfdisk -d /dev/sda | sfdisk /dev/sdd and it don't work
So I do this :
sfdisk -d /dev/sda > out.sav
sfdisk /dev/sdd < out.sav
and it fail with this message :
Vérification qu'aucun autre n'utilise le disque en ce moment ...
OK
Disque /dev/sdd: 38913 cylindres, 255 têtes, 63 secteurs/piste
Vieille situation:
Unités= cylindres de 8225280 octets, blocs de 1024 octets, décompte à partir de 0
Périph Amor Début Fin #cyls #blocs Id Système
/dev/sdd1 0 - 0 0 0 Vide
/dev/sdd2 0 - 0 0 0 Vide
/dev/sdd3 0 - 0 0 0 Vide
/dev/sdd4 0 - 0 0 0 Vide
AVERTISSEMENT: début de partition corrompu (auparavant 434108431)
sfdisk: entrée erronée
in sfdisk -d /dev/sda I had this :
# table de partitions de /dev/sda
unit: sectors
/dev/sda1 : start= 63, size= 16771797, Id= b
/dev/sda2 : start= 0, size= 0, Id= 0
/dev/sda3 : start= 16771860, size=569327535, Id= 5
/dev/sda4 : start= 0, size= 0, Id= 0
/dev/sda5 : start=289394910, size=144713520, Id=83
/dev/sda6 : start=434108493, size=151990902, Id=83
/dev/sda7 : start= 16771986, size=272622924, Id=83
To make this working I modified out.sav and change /dev/sda7 :
# table de partitions de /dev/sda
unit: sectors
/dev/sda1 : start= 63, size= 16771797, Id= b
/dev/sda2 : start= 0, size= 0, Id= 0
/dev/sda3 : start= 16771860, size=569327535, Id= 5
/dev/sda4 : start= 0, size= 0, Id= 0
/dev/sda5 : start= 16771986, size=272622924, Id=83
/dev/sda6 : start=289394910, size=144713520, Id=83
/dev/sda7 : start=434108493, size=151990902, Id=83
note :
- the two disk are different (300 Gb et 320 Gb)
- i use Ubuntu 8.04 - Hardy Heron
- kernel : 2.6.24-19-generic
- util-linux : 2.13.1-5ubuntu2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/260366/+subscriptions
More information about the foundations-bugs
mailing list