You are not logged in.

#1 2006-04-22 22:45:50

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 673
Website

how to format a disk which partitions are broken ?

Got a scsi IBM 2.1GB with 3 partitions that must have some wrong partition table.
# cfdisk /dev/sda won't go for it :

"FATAL ERROR: erroneous primary partition2: partition ends after the end of the disk. Press any key to escape" 

(kind of translated from french output here lol).

fdisk and parted won't do it either.
So how can I format that HDD ?
Allready happened once on a IDE hdd. I used a ubcd to low format the drive if I remember well.
Now I'd like to make that without having to reboot, as the scsi HDD is slave-mounted and that PC is my very running gateway... know how ?


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#2 2006-04-23 00:41:53

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 673
Website

Re: how to format a disk which partitions are broken ?

Well I rebooted wink as I suddently remembered the SCSI PCI card has some tools & Bingo! there's a "low level" format that went on without issue so far smile


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

Board footer

Powered by FluxBB