you will have to expand the rootfsvsayanam wrote:I saw this post only after trying a 20GB USB drive and pre-programmed 8GB SD card in Linux Fedora. After connecting both the devices, I ran 'dd' command to transfer all Linux files from SD card to HDD (formatted earlier in ext4). After copying (takes a lot of time), I changed 'cmdline.txt' file to change the boot from /dev/mmcblk0p2 to /dev/sda1. It appears to be working all right. But 'df -h' command does not show the 20GB HDD. Is it OK?
I had to use only a few commands for this operation.
I have successfully done all the steps above until resize2fs. By now, after running resize2fs to expand the partition to use the 20GB I left available (btw I had to umount /dev/sda1 first because the first try resize2fs told it was not possibile to resize online) it has been over 12 hours that the command is running, and no other output than:sudo resize2fs /dev/sda1
this expands the data to fill the partition
Code: Select all
sudo apt-get -y update sudo apt-get -y dist-upgrade sudo rpi-update
is it enough to format and mount the drive as ext4 to avoid the auto-sleep function? I am about to get my toshiba canvio as well...veteranz_guian25 wrote:u just have to format it to LINUX, then if you want u can make partition for the drive and then mount it (not literally) using mount commands.. this way u could use your HDD in your raspi for storage
Users browsing this forum: No registered users and 37 guests