Try using mke2fs /dev/sda2 and mkdosfs /dev/sda1 instead. Its the same utility, just named different on some distro's.
As for accessing the files from windows... I havent used DSL in ages, and im not sure windows drives are automatically mounted. Check and see if it is. If not, as root run 'fdisk -l' which will list all connected drives. See what device is labeled as FAT32 or NTFS. Thats your windows drive. DSL may not have a windows folder in /mnt by default, so as root type 'mkdir /mnt/windows'. Then you will have to manually mount it if its not automounted with 'mount -t vfat
(or ntfs
) /dev/hda1
(or whatever its listed as
) /mnt/windows'.
I believe Midnight Commander is installed in DSL, so i hope you have at least 512 meg ram
( 256 might be ok
). As root type 'mc' in a terminal. Now use mc
( filemanager
) to navigate to /mnt/windows/folder/you/have/900c-linux-files-in/. Then highlight each file and copy somewhere to DSL, say /home
(it'll actually copy to ram
). To copy hit f5 key.
Now make sure your CF card is mounted. Using mc again as root, navigate to your FAT16 partition on the CF card in 1 pane of mc, hit tab to switch to next pane, and navigate to where you copied the files over. Now highlight the fat files
( haret, zimage, startup.txt
) and hit f5 to copy them over to CF. To copy the rootfs to ext2 partition do the same thing, except this time highlight the 900crootfs tarball and hit enter, wait a few seconds, as mc will extract the files to ram. Once the tarball is extracted to ram highlight each directory
(/bin, /boot etc etc
) and hit f5 to copy them over to the ext2 partition. Copying takes a few minutes, wait for CF reader led to stop blinking, unmount your CF card.
Plop card in 900c and boot with haret.
P.S. If this sounds a bit over your head, i'd recommend Puppy Linux live cd, as it has nice GUI tools which make using a live cd for this purpose easier, and it auto mounts windows drives, and there is a nice tutorial on using puppy linux on this forum and jlimes forum.
Good luck.