 
Subject
In this article we discussed the Debian port to uClibc, and we created an ext3 filesystem on a USBCard. Now, we need to transfer the filesystem from the tarball to the USBCard. First, let's mount our newly created filesystem:
root@srv-1 / # mount -t ext3 /dev/sdc1 /mnt
root@srv-1 / # mount
/dev/hda3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
none on /dev type devfs (rw)
tmpfs on /var/lib/init.d type tmpfs (rw,mode=0644,size=2048k)
/dev/hda1 on /boot type ext2 (rw,noatime)
tmpfs on /dev/shm type tmpfs (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
mondo:/share on /share type nfs (rw,addr=10.50.100.72,addr=10.50.100.72)
/dev/sdc1 on /mnt type ext3 (rw)
root@srv-1 / #
root@srv-1 / # ls -l /dev/sdc
lr-xr-xr-x 1 root root 33 Jul 24 03:18 /dev/sdc
-> scsi/host2/bus0/target0/lun0/disc
root@srv-1 / #
root@srv-1 / # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 114207364 58818188 49587704 55% /
tmpfs 114207364 58818188 49587704 55% /var/lib/init.d
/dev/hda1 194442 22217 162186 13% /boot
tmpfs 452240 0 452240 0% /dev/shm
mondo:/share 177265344 108778792 59482004 65% /share
/dev/sdc1 217775 4127 202403 2% /mnt
|
Looks good. 200 Megs free on mnt. Let's extract the filesystem:
root@srv-1 / #
root@srv-1 / # cd /mnt
root@srv-1 mnt # tar -xjpf /home/u-1/usbcard/root_fs.i386.tar.bz2
root@srv-1 mnt # ls
bin cdrom etc home lib mnt proc sbin usr
boot dev floppy initrd lost+found opt root tmp var
root@srv-1 mnt #
|
Ok. We have a filesystem on our USBCard. In the next article we will compile a kernel for our new system.
| People: | |
| Places: | |
| Things: | |
| Times: | |
|
|