今日は LS-XHL の日。
Intergrated Sata device found scsi0 : Marvell SCSI to SATA adapter scsi1 : Marvell SCSI to SATA adapter Vendor: Seagate Model: ST3120026AS Rev: 3.18 Type: Direct-Access ANSI SCSI revision: 03 Vendor: Maxtor Model: 6Y160M0 Rev: YAR5 Type: Direct-Access ANSI SCSI revision: 03 SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) SCSI device sda: drive cache: write back SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB) SCSI device sda: drive cache: write back sda: sda1 sda2 sda3 sda4 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 SCSI device sdb: 320173056 512-byte hdwr sectors (163929 MB) SCSI device sdb: drive cache: write back SCSI device sdb: 320173056 512-byte hdwr sectors (163929 MB) SCSI device sdb: drive cache: write back sdb: sdb1 Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0やはり sdb1 一つだけ。
kup:~# fdisk /dev/sdb The number of cylinders for this disk is set to 19929. There is nothing wrong 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) Command (m for help): p Disk /dev/sdb: 163.9 GB, 163928604672 bytes 255 heads, 63 sectors/track, 19929 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 19930 160086527+ ee EFI GPT Command (m for help): q kup:~#やっぱり EFI GPT
kup:~# parted -su: parted: command not found kup:~#となったので、インストールする。
kup:~# apt-get install parted Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: libparted1.7-1 Suggested packages: libparted1.7-dev libparted1.7-i18n parted-doc The following NEW packages will be installed: libparted1.7-1 parted 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 253kB of archives. After unpacking 516kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://ftp2.jp.debian.org etch/main libparted1.7-1 1.7.1-5.1 [197kB] Get:2 http://ftp2.jp.debian.org etch/main parted 1.7.1-5.1 [55.7kB] Fetched 253kB in 0s (375kB/s) Selecting previously deselected package libparted1.7-1. (Reading database ... 15162 files and directories currently installed.) Unpacking libparted1.7-1 (from .../libparted1.7-1_1.7.1-5.1_arm.deb) ... Selecting previously deselected package parted. Unpacking parted (from .../parted_1.7.1-5.1_arm.deb) ... Setting up libparted1.7-1 (1.7.1-5.1) ... Setting up parted (1.7.1-5.1) ... kup:~#
kup:~# parted /dev/sdb GNU Parted 1.7.1 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print Disk /dev/sdb: 164GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 1024MB 1024MB ext3 primary 2 1024MB 6144MB 5120MB xfs primary 3 6144MB 6144MB 0.51kB primary 4 6144MB 6144MB 0.51kB primary 5 6144MB 7168MB 1024MB linux-swap primary 6 7168MB 152GB 145GB xfs primary (parted) quit Information: Don't forget to update /etc/fstab, if necessary. kup:~#ちゃんと見えた。
1つ目のパーティションはおそらく /boot
2つ目のパーティションはおそらく /
3つ目と4つ目のパーティションは何???
5つ目のパーティションは swap
6つ目のパーティションはおそらくデータ
kup:~# mkdir /tmp/root kup:~# mount /dev/sdb2 /tmp/root mount: you must specify the filesystem type kup:~# mount -t xfs /dev/sdb2 /tmp/root mount: /dev/sdb2 is not a valid block device kup:~#やっぱりね。
玄箱/Pro のカーネルを作り直すか、
GPT に対応したカーネルを持つ LS-XHL だけで何とかするか。
シリアルコンソール欲し。
|
← ファームウェア 1.06 のインストール |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ ディスクの中身、続く |