home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.mandriva      Somewhat decent but also getting bloated      29,919 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 29,335 of 29,919   
   Kirk_Von_Rockstein to Its Dale   
   Re: Cruzer   
   19 Jun 13 15:27:48   
   
   From: Kirk_Von_Rockstein@nowhere.invalid   
      
   On 2013-06-18, Its Dale  wrote:   
   > Wes Newell wrote:   
   >   
   >> On Mon, 17 Jun 2013 10:29:49 -0400, Its Dale wrote:   
   >>   
   >>> By the looks of this...there it is   
   >>> But how do I use it??   
   >>> I would like to copy all of   
   >>> my mandriva data to the Cruzer.   
   >>>   
   >>> [root@localhost ~]# fdisk -l   
   >>> Disk /dev/sdb: 32.0 GB, 32015679488 bytes 255 heads, 63 sectors/track,   
   >>> 3892 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector   
   >>> size (logical/physical): 512 bytes / 512 bytes I/O size   
   >>> (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000   
   >>>   
   >>>    Device Boot      Start         End      Blocks   Id  System   
   >>> /dev/sdb1               1        3893    31265296    c  W95 FAT32 (LBA)   
   >>> [root@localhost ~]#   
   >>   
   >> Make sure vfat is is in /etc/filesystems, then just mount it. Or reformat   
   >> it to a linux filesystem then mount it. Be sure and create mount point   
   >> first.   
   >   
   > Here is whats in etc/filesystems   
   >   
   > ext2   
   > nodev proc   
   > nodev devpts   
   > iso9660   
   > reiserfs   
   > vfat   
   > hpfs   
   >   
   > How do I reformat to a linux filesystem and then mount it???   
   > Dale   
   >   
      
   Make sure the Cruzer is not mounted (run mount command)   
   Use fdisk to delete the existing FAT32 partition,   
   then create a new Linux partition like so:   
      
   root@zundap:/home/zundap# fdisk /dev/sdb   
      
   Command (m for help): d   
   Selected partition 1   
      
   Command (m for help): n   
   Partition type:   
      p   primary (0 primary, 0 extended, 4 free)   
      e   extended   
   Select (default p): p   
   Partition number (1-4, default 1): 1   
   First sector (2048-1986047, default 2048):   
   Using default value 2048   
   Last sector, +sectors or +size{K,M,G} (2048-1986047, default 1986047):   
   Using default value 1986047   
      
   Command (m for help): w   
   The partition table has been altered!   
      
   Calling ioctl() to re-read partition table.   
   Syncing disks.   
   root@zundap:/home/zundap#   
      
   You first run "fdisk -l" in root term to be sure you have   
   located the Cruzer's proper device node (/dev/sdX).   
   Then once you have determined the proper device block   
   that the Cruzer actually is located at you run   
   "fdisk /dev/sdb" (if the Cruzer was located at sdb   
   determined via output of "fdisk -l") in same root term.   
   You will now be at the fdisk prompt,   
   where you type "d" then enter to delete the VFAT partition   
   on the Cruzer. Then type "n" then enter to create   
   a new partition, then type "p" then enter to select   
   for a primary partition.   
   Then hit enter twice to accept the defaults   
   if using the whole Cruzer as one primary partition.   
   Then lastly type "w" then enter to write changes to disk.   
   If you screw up at anytime type "q" then enter   
   to start from the top again. (before entering w)   
      
   Then you need to create a filesystem on the Cruzer   
   using mke2fs. Do so from same root terminal.   
   Type "mke2fs -t ext2 /dev/sdb1" then enter key   
   to create a ext2 filesystem as in this example below:   
      
   root@zundap:/home/zundap# mke2fs -t ext2 /dev/sdb1   
   mke2fs 1.42.5 (29-Jul-2012)   
   Filesystem label=   
   OS type: Linux   
   Block size=4096 (log=2)   
   Fragment size=4096 (log=2)   
   Stride=0 blocks, Stripe width=0 blocks   
   62080 inodes, 248000 blocks   
   12400 blocks (5.00%) reserved for the super user   
   First data block=0   
   Maximum filesystem blocks=255852544   
   8 block groups   
   32768 blocks per group, 32768 fragments per group   
   7760 inodes per group   
   Superblock backups stored on blocks:   
   	32768, 98304, 163840, 229376   
      
   Allocating group tables: done   
   Writing inode tables: done   
   Writing superblocks and filesystem accounting information: done   
      
   root@zundap:/home/zundap#   
      
   To copy the mandravia data to Cruzer use rsync to do so.   
   Mount both the mandravia partition and the Cruzer first.   
   Run "fdisk -l" in root term to be sure you have located   
   the proper device nodes of each partition. Once you have,   
   create the mount points on the filesystem and mount each.   
   Example below:   
      
   mkdir -p /mnt/sda5;mount /dev/sda5 /mnt/sda5   
   mkdir -p /mnt/sdb1;mount /dev/sdb1 /mnt/sdb1   
   rsync -av --delete /mnt/sda5/ /mnt/sdb1   
      
   Substitute sda5 for actual partition your data is on.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca