Author Topic: Moving Root In A Microdrive  (Read 4254 times)

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
Moving Root In A Microdrive
« on: April 08, 2005, 11:05:29 am »
Good mornig,
 i wander if is it possible to move all Zaurus root / to a microdrive or a compact flash so
all zaurus memory is free and i can use for some other.....
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Moving Root In A Microdrive
« Reply #1 on: April 08, 2005, 01:07:25 pm »
Quote
Good mornig,
 i wander if is it possible to move all Zaurus root / to a microdrive or a compact flash so
all zaurus memory is free and i can use for some other.....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=74261\"][{POST_SNAPBACK}][/a][/div]

it is. But I simply put /opt/ usually - so without the SD I can still boot, only in txt mode

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
Moving Root In A Microdrive
« Reply #2 on: April 08, 2005, 02:52:04 pm »
Please guylhem can you tell me the right procedure for moving  /opt/ to SD ?
Thanks !
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307

eddiectc

  • Newbie
  • *
  • Posts: 46
    • View Profile
Moving Root In A Microdrive
« Reply #3 on: April 21, 2005, 12:06:12 am »
my procedure is tar the opt first, then untar it in the sd, then rm the opt, and make a symlink there
or you can use cp -d to just copy the opt to the sd, then rm the opt, and make a symlink
after all, u need to reboot

cd /mnt/card/sdroot
tar -cvf root.tar /opt
tar -zvf root.tar
rm -rf /opt
ln -s /mnt/card/sdroot/opt /opt




Quote
Please guylhem can you tell me the right procedure for moving  /opt/ to SD ?
Thanks !
[div align=\"right\"][a href=\"index.php?act=findpost&pid=74300\"][{POST_SNAPBACK}][/a][/div]

aeazocar

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
Moving Root In A Microdrive
« Reply #4 on: September 19, 2005, 03:37:23 am »
Hi,

I have been trying to move /opt to SD card; but when I follow eddiectc procedure, I get an error in the command "rm -rf /opt" - read only file system.

Any help will be appreciated.
Alejandro
---------------------------------------------------------
Zaurus SL-C3200 with weeXpc 1.6 (Conics.net)
1gb pqi 45X SD Card
Socket Low Power 802.11b Wireless CF Card
Zaurus SL- C1000 pdaXrom, Zaurus SL-6000 Sharp Rom, Zaurus SL- C760 Cacko 1.23  , Zaurus SL-5600 Sharp Rom.

inode0

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Moving Root In A Microdrive
« Reply #5 on: September 19, 2005, 10:02:10 am »
Quote
I have been trying to move /opt to SD card; but when I follow eddiectc procedure, I get an error in the command "rm -rf /opt" - read only file system.

Any help will be appreciated.
On a 6000 with the stock rom anyway /opt is ro, but I believe if you move /home/QtPalmtop somewhere else and make the symlink from there you achieve the same effect.

John