RE: [crisos] USB Drive Partition

[ Thread Index | Date Index | More lists.tuxfamily.org/crisos Archives ]


Thanks.  I'm getting close.  I can do everything in the example except mount
the drive - it fails.  See below:

root@CrisOs:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 7.1M      6.6M    496.0k  93% /
none                     14.8M     72.0k     14.8M   0% /tmp
tmpfs                   512.0k         0    512.0k   0% /dev
root@CrisOs:~# free
              total         used         free       shared      buffers
  Mem:        30360         7152        23208            0            0
 Swap:            0            0            0
Total:        30360         7152        23208
root@CrisOs:~# mkswap /dev/sda2
Setting up swapspace version 1, size = 621797 kB
no label, UUID=bd4f56ac-4928-4f79-8109-bec76dafdf56
root@CrisOs:~# mkfs.ext2 /dev/sda1
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
176128 inodes, 1407984 blocks
70399 blocks (5.00%) reserved for the super user
First data block=1
172 block groups
8192 blocks per group, 8192 fragments per group
1024 inodes per group
Superblock backups stored on blocks:
        8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409, 663553,
        1024001

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
root@CrisOs:~# mount /dev/sda1 /mnt/usbdrive
mount: mounting /dev/sda1 on /mnt/usbdrive failed
root@CrisOs:~#

Any idea what I'm doing wrong?

Mike

-----Original Message-----
From: Listengine [mailto:listengine@xxxxxxxxxxxxxxxxx] On Behalf Of Claudio
Sent: Friday, May 09, 2008 3:04 AM
To: crisos@xxxxxxxxxxxxxxxxxxx
Subject: Re: [crisos] USB Drive Partition

2008/5/9 Michael S. Klapheke <mklaphek@xxxxxxxxxxxxx>:
> Team,
>
> Here is another piece of information.  When I try to write using fdisk, I
> get the following (error 22 Invalid Argument):
>
> root@CrisOs:~# fdisk /dev/sda1
This should be fdisk /dev/sda not sda1

---
CrisOs mailing list
Official multi-language http://www.crisos.org/ mailing list

For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with
subject unsubscribe.




---
CrisOs mailing list
Official multi-language http://www.crisos.org/ mailing list

For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/