Wednesday, May 12, 2010

How to move Ubuntu 9.10 to bigger USB drive

Tired again. Tired searching, tired reading all tutorials found on the net. So I've discovered my own solution, combined from many sources. It took me 20 mins to move my Ubuntu from old pendrive to the new one. And it works - that's the most important.
Old pendrive (sdy): 4GB, fat32 formatted (1 partition), casper-rw (3GB) persistent file
New pendrive (sdx): 8GB
sdx1: fat32, 880 MB (flag boot on)
sdx2: ext2, 5,79 GB (label: casper-rw)
sdx3: ext2, 1 GB (label: home-rw)
The whole process was made using Puppy Linux (booted from SD card)
1. Mount casper-rw file from old pendrive: mkdir /mnt/usb mount -o loop /mnt/sdy1/casper-rw /mnt/usb
2. Mount all sdx partitions
3. Copy casper-rw file content to casper-rw sdx partition cp -avR /mnt/usb/* /mnt/sdx2
4. Copy home directory content to home-rw partition cp -avR /mnt/usb/home/ubuntu /mnt/sdx3
5. Copy content of old pendrive to the first partition of sdx omiting casper-rw file (this part you can do using midnight commander file manager)
6. Make new usb bootable: syslinux /dev/sdx1
That's all


  1. Play Rakegad Slots Online for Real Money - Live Casino
    Rakegad is a live dealer casino where you can place bets on the outcome starvegad of every game 인카지노 with the same winning 카지노 margin as you would any other online casino.

  2. Casino Games at Jordan's Casino
    Casino Games at Jordan's Casino is the ultimate destination for entertainment new air jordan 18 retro toro mens sneakers and entertainment, from classic air jordan 1 retro low men slots and table air jordan 18 retro toro mens sneakers cheap games to live ‎Casino Games 토토갤러리 에스뱅크 · ‎Contact · ‎Casino Locations where to order air jordan 18 retro varsity red