Hi
How to expand my 1GB (dom) openatv 6.0? I have only 0% free space (/dev/hda1): TOTAL 171,1 MB; FREE: 0%:
Fabry's script appear error:
Powered by Opensat
Linux/mips 3.3.1-opensat
(none) login: root
# mkdir hdd
# mount -o noatime /dev/sda1 hdd
# mkdir dom
# mount -o noatime /dev/hda1 dom
# cd hdd
# mkdir backup
# cd backup
# mkdir dom
# cd /home/root
# cp -a dom/* hdd/backup/dom/
cp: can't stat 'dom/home/root/.bash_history': Input/output error
cp: can't stat 'dom/run/blkid/blkid.tab': Input/output error
cp: can't stat 'dom/var/lib/alsa/asound.state': Input/output error
#
and
Powered by Opensat
Linux/mips 3.3.1-opensat
(none) login: root
# mkdir usb
# mount -o noatime /dev/sda1 usb
# mkdir dom
# mount -o noatime /dev/hda1 dom
# cd usb
# mkdir backup
# cd backup
# mkdir dom
# cd /home/root
# cp -a dom/* usb/backup/dom/
# umount dom
# echo ",512,83" > hda.out
# echo ",4,83" **** hda.out
# echo ",128,82" **** hda.out
# echo ",,5" **** hda.out
# echo ",,83" **** hda.out
# sfdisk -f -uM /dev/hda < hda.out
Checking that no-one is using this disk right now ...
BLKRRPART: Device or resource busy
This disk is currently in use - repartitioning is probably a bad idea.
Umount all file systems, and swapoff all swap partitions on this disk.
Use the --no-reread flag to suppress this check.
Disk /dev/hda: 1942 cylinders, 16 heads, 63 sectors/track
Old situation:
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MiB #blocks Id System
/dev/hda1 0+ 183- 184- 187487+ 83 Linux
/dev/hda2 183+ 187- 5- 4536 83 Linux
/dev/hda3 187+ 245- 59- 59472 82 Linux swap / Solaris
/dev/hda4 245+ 955- 711- 727272 5 Extended
/dev/hda5 245+ 955- 711- 727271+ 83 Linux
New situation:
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MiB #blocks Id System
/dev/hda1 0+ 512- 513- 524663+ 83 Linux
/dev/hda2 512+ 516- 5- 4536 83 Linux
/dev/hda3 516+ 645- 129- 131544 82 Linux swap / Solaris
/dev/hda4 645+ 955- 311- 318024 5 Extended
/dev/hda5 645+ 955- 311- 318023+ 83 Linux
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Successfully wrote the new partition table
Re-reading the partition table ...
BLKRRPART: Device or resource busy
The command to re-read the partition table failed
Reboot your system now, before using mkfs
Now, script working fine using openspa 6 and openpli 4:
/dev/hda1 = 503,9 MB
Thanks