Post
Topic
Board Project Development
Re: LinuxCoin A lightweight Debian based OS with everything ready to go.
by
niccyb
on 16/06/2011, 17:36:42 UTC
I am trying to create persistance but having a few problems. on my usb drive i see sda1 and sda2, but when i try to format sda2 i get the message that sda2 is mounted; will not make filesystem here.
So /dev/sda2 was probably already formatted and has been automatically mounted...

Open up a terminal window and su to root:
Code:
sudo su -
Then check where it's currently mounted:
Code:
df
You should see /dev/sda2 mounted under /media/somethingorother. Unmount it:
Code:
umount /media/somethingorother
(obviously replacing as appropriate). Then format the partition:
Code:
mkfs.ext4 /dev/sda2 -L live-rw
Then reboot into persistent mode (don't just type 'reboot', that won't do it - you'll probably need to power-cycle the box). Et voila, it should all be there!!
Quote
1btc
1Ju5JU9ujukKDk8zaxxMa4xf2c3UGGUuSk if it pleases you  Wink