# fdisk -l Disk /dev/sda: 203.9 GB, 203928109056 bytes 255 heads, 63 sectors/track, 24792 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 125 1004031 83 Linux Disk /dev/sdb: 4325 MB, 4325529600 bytes 255 heads, 63 sectors/track, 525 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 525 4217031 b Win95 FAT32 #OK
# /partition.sh
Do you really want to destroy existing data on /dev/sda:(y/n) y
32+0 records in
32+0 records out
Device contains neither a valid DOS partition table, nor Sun, SGsd 0:0:0:0: [sda] 398297088 512-byte hardware sectors (203928 MB)
I or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to writesd 0:0:0:0: [sda] Write Protect is off
them. After that the previous content
won't besd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
recoverable.
sda:
The number of cylinders for t sda1his disk is set sda2to 24792.
There sda3 is nothing wron sda4g with that, but
this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x00,0x00 of partition table 4 will be corrected by w(rite)
Command (m for help):
Command action
e extended
p primary partition (1-4)
Partition number (1-4):
Adding 1004052k swap on /dev/sda3. Priority:-1 extents:1 across:1004052k
First cylinder (1-24792, default 1): Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-24792, default 24792):
Command (m for help):
Command action
e extended
p primary partition (1-4)
Partition number (1-4):
First cylinder (126-24792, default 126): Using default value 126
Last cylinder or +size or +sizeM or +sizeK (126-24792, default 24792):
Command (m for help):
Command action
e extended
p primary partition (1-4)
Partition number (1-4):
First cylinder (625-24792, default 625): Using default value 625
Last cylinder or +size or +sizeM or +sizeK (625-24792, default 24792):
Command (m for help):
Command action
e extended
p primary partition (1-4)
Selected partition 4
First cylinder (750-24792, default 750): Using default value 750
Last cylinder or +size or +sizeM or +sizeK (750-24792, default 24792): Using default value 24792
Command (m for help):
Command (m for help):
Partition number (1-4):
Hex code (type L to list codes):
Changed system type of partition 3 to 82 (Linux swap)
Command (m for help):
Disk /dev/sda: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 125 1004031 83 Linux
/dev/sda2 126 624 4008217+ 83 Linux
/dev/sda3 625 749 1004062+ 82 Linux swap
/dev/sda4 750 24792 193125397+ 83 Linux
Command (m for help):
The partition table has been altered!
Calling ioctl() to re-read partition table
Setting up swapspace version 1, size = 1028155904 bytes
meta-data=/dev/sda4 isize=256 agcount=16, agsize=3017584 blks
= sectsz=512 attr=0
data = bsize=4096 blocks=48281344, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=1
naming =version 2 bsize=4096
log =internal log bsize=4096 blocks=23574, version=1
= sectsz=512 sunit=0 blks, lazy-count=0
realtime =none extsz=4096 blocks=0, rtextents=0
mke2fs 1.40.4 (31-Dec-2007)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
125696 inodes, 251007 blocks
12550 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=260046848
8 block groups
32768 blocks per group, 32768 fragments per group
15712 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
mke2fs 1.40.4 (31-Dec-2007)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
501952 inodes, 1002054 blocks
50102 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1027604480
31 block groups
32768 blocks per group, 32768 fragments per group
16192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 26 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
#
# /install.sh -D /dev/sdb1 -m /mnt/usbdisk1 -t vfat ./ FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! I: Retrieving Release I: Retrieving Packages I: Validating Packages : : gzip: GPL/micon20080830_arm_bin2.tgz: No such file or directory : :install.sh の最後のパラメータ を ./ にしても、結局
何が入っていてどこに置かないといけないのか、 インストーラを確認要
|
|
← HDD boot 再チャレンジ |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ gzip: GPL/micon20080830_arm_bin2.tgz: No such file or directory |