kup:~# dmesg |less : 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: SAMSUNG Model: HD103UJ Rev: 1AA0 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: 1953525168 512-byte hdwr sectors (1000205 MB) SCSI device sdb: drive cache: write back SCSI device sdb: 1953525168 512-byte hdwr sectors (1000205 MB) SCSI device sdb: drive cache: write back sdb: sdb1 sdb2 sdb4 < sdb5 sdb6 > Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0 :sdb は、LS-XHL と異なりこれまで通り、
kup:~# fdisk -l /dev/sdb Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 125 1004031 83 Linux /dev/sdb2 126 748 5004247+ 83 Linux /dev/sdb4 749 121601 970751722+ 5 Extended /dev/sdb5 749 873 1004031 82 Linux swap / Solaris /dev/sdb6 874 121478 968759631 83 Linux kup:~#これまで通り。これなら手慣れた物。
kup:~# mkdir /tmp/root kup:~# mount /dev/sdb2 /tmp/root kup:~# ls /tmp/root bin debugtool etc initrd mnt proc sbin sys usr www boot dev home lib modules root share tmp var kup:~# mount /dev/sdb1 /tmp/root/boot kup:~# ls /tmp/root/boot/ conf_save.tgz initrd.buffalo lost+found uImage.buffalo hddrootfs.buffalo.updated.done log.tgz u-boot.buffalo kup:~# mount /dev/sdb6 /tmp/root/mnt/disk1 kup:~# ls !$ ls /tmp/root/mnt/disk1 mt-daapd share spool kup:~# umount /tmp/root/mnt/disk1/ kup:~# umount /tmp/root/boot/ kup:~# umount /tmp/root/ kup:~#これまで通り。
これならシリアルコンソールがなくてもなんとかなりそうだ。
|
← つながらないシリアルコンソール |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ telnet 可能化 / root のパスワードを潰す |