準備(LS-QL の場合) を進める。
BUFFALO INC. LinkStation series LS-QL233 login: root No mail. root@LS-QL233:~#
root@LS-QL233:~# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/md1 4993920 421720 4572200 8% / /dev/ram1 15360 112 15248 1% /mnt/ram /dev/md0 995928 183904 812024 18% /boot /dev/disk1_6 148376092 612 148375480 0% /mnt/disk1 /dev/usbdisk1_1 995928 191168 804760 19% /mnt/usbdisk1 root@LS-QL233:~# umount /mnt/usbdisk1/ root@LS-QL233:~# 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 125 1004031 83 Linux /dev/sdb2 126 748 5004247+ 83 Linux /dev/sdb4 749 19929 154071382+ 5 Extended /dev/sdb5 749 873 1004031 82 Linux swap /dev/sdb6 874 19354 148448601 83 Linux Command (m for help): d Partition number (1-6): 4 Command (m for help): d Partition number (1-4): 2 Command (m for help): d Selected partition 1 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 Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table /sbin/hotplug [block] /sbin/hotplug [block] /sbin/hotplug [block] /sbin/hotplug [bsd 2:0:0:0: [sdb] 320173056 512-byte hardware sectors (163929 MB) lock] sd 2:0:0:0: [sdb] Write Protect is off sd 2:0:0:0: [sdb] Assuming drive cache: write through sdb: root@LS-QL233:~# /sbin/hotplug [block] root@LS-QL233:~#
BUFFALO INC. LinkStation series LS-QL233 login: root No mail. root@LS-QL233:~#
root@LS-QL233:~# cd /mnt/disk1/share/hackkit root@LS-QL233:/mnt/disk1/share/hackkit# sh ramroot_090225.sh Extracting initrd... 110346+1 records in 110346+1 records out mounting initrd... editing linuxrc... clearing root's password... rebuilding initrd.buffalo... gziping initrd ... wait 5 minutes Image Name: initrd Created: Thu Nov 1 03:26:58 2007 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7022672 Bytes = 6858.08 kB = 6.70 MB Load Address: 0x00000000 Entry Point: 0x00000000 root@LS-QL233:/mnt/disk1/share/hackkit#
BUFFALO INC. LinkStation series LS-QL-EM233 login:
BUFFALO INC. LinkStation series LS-QL-EM233 login: root No mail. root@LS-QL-EM233:~#
root@LS-QL-EM233:~# date Thu Nov 1 03:34:22 JST 2007 root@LS-QL-EM233:~# date 060617252009 Sat Jun 6 17:25:00 JST 2009 root@LS-QL-EM233:~#
root@LS-QL-EM233:~# mkdir /mnt/disk1 mkdir: cannot create directory '/mnt/disk1': File exists root@LS-QL-EM233:~# mount /dev/sda6 /mnt/disk1 XFS mounting filesystem sda6 XFS resetting qflags for filesystem sda6 root@LS-QL-EM233:~#
ここまでで、 準備(LS-QL の場合) は終わり。
特に問題なし。
|
← ファームウェア 1.10 βの散歩 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ ファームウェア 1.10 βでハックキット(2) |