OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: defakto on April 14, 2005, 12:24:41 pm

Title: Moving /opt /home On Oz 3.5.2
Post by: defakto on April 14, 2005, 12:24:41 pm
I've tried the script posted in one of the older posts used to move the above directories so that I can install zgcc on my zaurus.  When I do it, no installed files will work from the system and I get alot of unusual messages during boot.  I can get them for me if you want.   Just don't have them atm.
Title: Moving /opt /home On Oz 3.5.2
Post by: lardman on April 14, 2005, 12:37:51 pm
You don't need to move /home to the SD card to install zgcc, or at least I can't think of a reason why you'd have to do this.


Si
Title: Moving /opt /home On Oz 3.5.2
Post by: defakto on April 14, 2005, 04:19:45 pm
Quote
You don't need to move /home to the SD card to install zgcc, or at least I can't think of a reason why you'd have to do this.


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75182\"][{POST_SNAPBACK}][/a][/div]


I'm using the 64-0 zImage so if I install anything it needs to be installed on the SD card.  I'm not so concered moving /home as I am moving /opt as that is where zgcc takes up the most space(20+ meg or so).  I just don't have enough space to install it without moving /opt
Title: Moving /opt /home On Oz 3.5.2
Post by: MS3FGX on April 14, 2005, 11:27:37 pm
All you should have to do to move /opt to the SD is:

1. Kill Opie
2. "cp -a /opt /mnt/card/opt"
3. "rm -rf /opt"
4. "ln -s /mnt/card/opt /opt"
5. Reboot

You didn't say if you are running Opie or not, but I just assumed you are.

Make sure not to make any mistakes with those lines, the 3rd one can destroy your system with ease.
Title: Moving /opt /home On Oz 3.5.2
Post by: lardman on April 15, 2005, 05:12:26 am
Quote
I'm not so concered moving /home as I am moving /opt as that is where zgcc takes up the most space(20+ meg or so).

Can't you just install it directly to the card? Is it not an ipk, if not then I'd use some symlink magic from the card.


Si
Title: Moving /opt /home On Oz 3.5.2
Post by: defakto on April 15, 2005, 08:04:15 am
Quote
Quote
I'm not so concered moving /home as I am moving /opt as that is where zgcc takes up the most space(20+ meg or so).

Can't you just install it directly to the card? Is it not an ipk, if not then I'd use some symlink magic from the card.


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75323\"][{POST_SNAPBACK}][/a][/div]


The version I've got is an ipk and it doesn't seem to run right when I install it to sd card and wave my wand of linking at at it.
Title: Moving /opt /home On Oz 3.5.2
Post by: defakto on April 15, 2005, 10:35:13 pm
Quote
All you should have to do to move /opt to the SD is:

1. Kill Opie
2. "cp -a /opt /mnt/card/opt"
3. "rm -rf /opt"
4. "ln -s /mnt/card/opt /opt"
5. Reboot

You didn't say if you are running Opie or not, but I just assumed you are.

Make sure not to make any mistakes with those lines, the 3rd one can destroy your system with ease.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75289\"][{POST_SNAPBACK}][/a][/div]


Ok, when I follow those steps exactly I get this error in the boot log in system info under opie on OZ 3.5.3:

<3>sd : cmd [ 12 ] response [ 3f  ]
<3>sd : cmd [ 12 ] response [ 3f  ]
<3>sd : cmd [ 12 ] response [ 3f  ]
<3>sd : cmd [ 12 ] response [ 3f  ]
<3>sd : cmd [ 12 ] response [ 3f  ]
<3>sd : cmd [ 12 ] response [ 3f  ]
<3>sd : cmd [ 12 ] response [ 3f  ]

and it repeats..alot...
Title: Moving /opt /home On Oz 3.5.2
Post by: MS3FGX on April 16, 2005, 12:25:54 am
Are you sure the SD card is working properly? What file system is it formatted to? It will have to be EXT2 for this to work.
Title: Moving /opt /home On Oz 3.5.2
Post by: defakto on April 16, 2005, 12:41:07 am
Quote
Are you sure the SD card is working properly? What file system is it formatted to? It will have to be EXT2 for this to work.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75478\"][{POST_SNAPBACK}][/a][/div]


It is working properly, everything is copied over and linked just fine, but i get that error message in the log under system info.  Hell, even opie starts up and runs fine with /opt moved over to the SD card.  That error message worries me though.