FreeBSD & ext partitions (was Re: HIDE FAT32 Partition)

I.Ioannou roryt at roryt.gr
Sun May 19 03:33:01 EEST 2002


On Tuesday 14 May 2002 18:09, Άγγελος Οικονομόπουλος wrote:
> can't say. an den einai parabiash aporhtou steile to mbr (dd klp), to
> extended partition table gia ka8e mia apo tis logical (dhladh ta prwta 512
> bytes[0] apo ka8e logical pou mporeis na prospelaseis (pali dd klp, 3ereis
> twra)), to idio gia thn extended, to output tou fdisk -s gia to sklhro auto
> kai oti tuxon mhnumata petaei sto messages otan kaneis fdisk, kai egw den
> uposxomai tipota. sounds like a good deal, right? :-)
>

Attached olla, elpizw.


-- 
I.Ioannou <roryt at roryt.gr>
-------------- next part --------------

Disk /dev/hda: 255 heads, 63 sectors, 3649 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1       255   2048256    b  Win95 FAT32
/dev/hda2   *       256       259     32130   83  Linux
/dev/hda3           260       325    530145   82  Linux swap
/dev/hda4           326      3649  26700030    5  Extended
/dev/hda5           326       580   2048256    b  Win95 FAT32
/dev/hda6           581      3649  24651711   83  Linux

Disk /dev/hdb: 255 heads, 63 sectors, 1871 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1      1024   8225248+  a6  OpenBSD
/dev/hdb2          1025      1588   4530330   a5  BSD/386
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hda-512.dd
Type: application/octet-stream
Size: 512 bytes
Desc: dd if=/dev/hda of=hda-512.dd bsize=1 count=512
URL: <http://lists.hellug.gr/pipermail/linux-greek-users/attachments/20020519/e6a2f57f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hda4-512.dd
Type: application/octet-stream
Size: 512 bytes
Desc: dd if=/dev/hda4 of=hda4-512.dd bsize=1 count=512
URL: <http://lists.hellug.gr/pipermail/linux-greek-users/attachments/20020519/e6a2f57f/attachment-0001.obj>
-------------- next part --------------
fdisk /dev/ad0

******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=3649 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3649 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 11,(DOS or Windows 95 with 32 bit FAT)
    start 63, size 4096512 (2000 Meg), flag 0
	beg: cyl 0/ head 1/ sector 1;
	end: cyl 254/ head 254/ sector 63
The data for partition 2 is:
sysid 131,(Linux filesystem)
    start 4096575, size 64260 (31 Meg), flag 80 (active)
	beg: cyl 255/ head 0/ sector 1;
	end: cyl 258/ head 254/ sector 63
The data for partition 3 is:
sysid 130,(Linux swap or Solaris x86)
    start 4160835, size 1060290 (517 Meg), flag 0
	beg: cyl 259/ head 0/ sector 1;
	end: cyl 324/ head 254/ sector 63
The data for partition 4 is:
sysid 5,(Extended DOS)
    start 5221125, size 53400060 (26074 Meg), flag 0
	beg: cyl 325/ head 0/ sector 1;
	end: cyl 1023/ head 254/ sector 63

fdisk /dev/ad0s4

fdisk: can't get disk parameters on /dev/ad0s4; supplying dummy ones
******* Working on device /dev/ad0s4 *******
parameters extracted from in-core disklabel are:
cylinders=1 heads=1 sectors/track=1 (1 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=1 heads=1 sectors/track=1 (1 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 11,(DOS or Windows 95 with 32 bit FAT)
    start 63, size 4096512 (2000 Meg), flag 0
	beg: cyl 325/ head 1/ sector 1;
	end: cyl 579/ head 254/ sector 63
The data for partition 2 is:
sysid 5,(Extended DOS)
    start 4096575, size 49303485 (24073 Meg), flag 0
	beg: cyl 580/ head 0/ sector 1;
	end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

fdisk /dev/ad0s6

fdisk: can't get disk parameters on /dev/ad0s6; supplying dummy ones
fdisk: invalid fdisk partition table found
******* Working on device /dev/ad0s6 *******
parameters extracted from in-core disklabel are:
cylinders=1 heads=1 sectors/track=1 (1 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=1 heads=1 sectors/track=1 (1 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 1, size 0 (0 Meg), flag 80 (active)
	beg: cyl 1/ head 0/ sector 1;
	end: cyl 0/ head 0/ sector 1
-------------- next part --------------
Disk: wd0	geometry: 3649/255/63 [58621185 sectors]
Only LBA values are valid in ending cylinder for partition #3.
Offset: 0	Signatures: 0xAA55,0x0
         Starting       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 0: 0B    0   1   1 -  254 254  63 [        63 -    4096512] Win95 FAT-32
*1: 83  255   0   1 -  258 254  63 [   4096575 -      64260] Linux files*
 2: 82  259   0   1 -  324 254  63 [   4160835 -    1060290] Linux swap  
 3: 05  325   0   1 - 1023 254  63 [   5221125 -   53400060] Extended DOS
Only LBA values are valid in ending cylinder for partition #1.
Offset: 5221125	Signatures: 0xAA55,0x0
         Starting       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 0: 0B  325   1   1 -  579 254  63 [   5221188 -    4096512] Win95 FAT-32
 1: 05  580   0   1 - 1023 254  63 [   9317700 -   49303485] Extended DOS
 2: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
 3: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
Only LBA values are valid in ending cylinder for partition #0.
Offset: 9317700	Signatures: 0xAA55,0x0
         Starting       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 0: 83  580   1   1 - 1023 254  63 [   9317763 -   49303422] Linux files*
 1: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
 2: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
 3: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
Disk: wd1	geometry: 1871/255/63 [30057615 sectors]
Only LBA values are valid in starting cylinder for partition #1.
Only LBA values are valid in ending cylinder for partition #1.
Offset: 0	Signatures: 0xAA55,0x0
         Starting       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
*0: A6    0   1   1 - 1023 254  63 [        63 -   16450497] OpenBSD     
 1: A5 1023   0   1 - 1023 254  63 [  16450560 -    9060660] FreeBSD     
 2: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
 3: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: QUANTUM FIREBALL
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 58633344
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

16 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  c: 58633344        0    unused        0     0       	# (Cyl.    0 - 58167)
  i:  4096512       63     MSDOS                      	# (Cyl.    0*- 4064*)
  j:    64260  4096575    ext2fs                      	# (Cyl. 4064*- 4127*)
  k:  1060290  4160835   unknown                      	# (Cyl. 4127*- 5179*)
  l:  4096512  5221188     MSDOS                      	# (Cyl. 5179*- 9243*)
  m: 49303422  9317763    ext2fs                      	# (Cyl. 9243*- 58155*)



# using MBR partition 0: type A6 off 63 (0x3f) size 16450497 (0xfb03c1)
# /dev/rwd1c:
type: ESDI
disk: ESDI/IDE disk
label: WDC WD153AA     
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 30064608
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

16 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a: 15926209       63    4.2BSD     1024  8192    16 	# (Cyl.    0*- 15799*)
  b:   523280 15926272      swap                      	# (Cyl. 15799*- 16318)
  c: 30064608        0    unused        0     0       	# (Cyl.    0 - 29825)






More information about the Linux-greek-users mailing list