sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #91411
RE: Formattering af harddisk #2 ?
Aha..
Du skal starte med at køre
#fdisc /dev/sdb
Derinde skal du slette de 4 'ufuldendte' partitioner der ligger (mener det er 'd' for delete)
Så er der bare tilbage at oprette en ny ('n') og vælge maks størrelse.
Defalut fs-type burde være ext3, men det kan ændres med 't'.
tilsidst skriv partitionstabel med 'w'
Fdisk har en indbygget hjælpefunktion tast 'h'.
Vær opmærksom på at fdisk KAN være meget destruktiv hvis brugt forkert (HUSK den rette device!)
som en anden så skrev, så skal partitionen blot formateres og mountes.
(man mkfs) og (man mount)
Søren Koch
Development Engineer.
cand.scient., PhD.
Fuel Cells and Solid State Chemistry Department
Risø National Laboratory
Frederiksborgvej 399
4000 Roskilde
Phone: (+45) 46 77 58 16
>From 1 January 2007, Risø National Laboratory, the Danish Institute for Food and Veterinary Research, the Danish Institute for Fisheries Research, the Danish National Space Center and the Danish Transport Research Institute have been merged with the Technical University of Denmark (DTU) with DTU as the continuing unit.
> -----Original Message-----
> From: Niels Rasmussen [mailto:niels@xxxxxxxxxx]
> Sent: Thursday, March 22, 2007 7:50 AM
> To: sslug-teknik@xxxxxxxx
> Subject: Re: [TEKNIK] Formattering af harddisk #2 ?
>
> Den Wednesday 21 March 2007 23:41:12 Kristian Kallenberg skrev:
> > det vil være en god ide hvis du poster outputtet fra:
> >
> > # fdisk -l
>
> # fdisk -l
>
> Disk /dev/sda: 250.0 GB, 250059350016 bytes
> 255 heads, 63 sectors/track, 30401 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 509 4088511 82 Linux
> swap / Solaris
> /dev/sda2 510 30401 240107490 5 Extended
> /dev/sda5 510 13251 102350083+ 83 Linux
> /dev/sda6 13252 30401 137757343+ 83 Linux
>
> Disk /dev/sdb: 250.0 GB, 250059350016 bytes
> 255 heads, 63 sectors/track, 30401 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 * 1 1 0 0 Empty
> Partition 1 does not end on cylinder boundary.
> /dev/sdb2 * 1 1 0 0 Empty
> Partition 2 does not end on cylinder boundary.
> /dev/sdb3 * 1 1 0 0 Empty
> Partition 3 does not end on cylinder boundary.
> /dev/sdb4 * 1 1 0 0 Empty
> Partition 4 does not end on cylinder boundary.
>
> --
> /Niels
> Registered Linux user #133791
>
>
>
>
Follow ups
References