Author Topic: How To Use Sd Card As Root Or Home In Cacko 1.23?  (Read 2777 times)

Snappy

  • Hero Member
  • *****
  • Posts: 793
    • View Profile
    • http://
How To Use Sd Card As Root Or Home In Cacko 1.23?
« on: June 29, 2006, 06:00:07 am »
How can I use SD card as root or home in Cacko 1.23?

I'm trying to see if its possible to mount my SD card as root or home in Cacko 1.23. Any ideas?

Formatting it as type 83 (linux) mounted as ext2 is now a mess and it cannot be automounted. So should I reformat it back to Fat16 and forget about ipkg install onto this sd card?

Ideas and comments?
Snappy!
------------------------
Akita (Daily use)
<span style='font-size:8pt;line-height:100%'>SL-C1000 with Cacko 1.23 full
Accessories: Wifi XI-825 CF  |  16GB (6) SDHC (Transcend) | 1GB 80x CF (RiDATA PRO-2) </span>

Collie (Sandbox)
<span style='font-size:8pt;line-height:100%'>SL-5500 with OZ/GPE 3.5.4.1 alpha3 build 2006-04-27
Accessories: 512MB A-Data SD | 64MB Toshiba SD</span>

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
How To Use Sd Card As Root Or Home In Cacko 1.23?
« Reply #1 on: June 29, 2006, 07:31:29 am »
I don't think it's easily possible to have a card for the root fs.
But as home it should be no problem.
Just format as ext2, create directories for every user and link them into /home

But be careful not to use software which needs files in home when the card is not inserted. This can lead to interesting effects.  

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

Snappy

  • Hero Member
  • *****
  • Posts: 793
    • View Profile
    • http://
How To Use Sd Card As Root Or Home In Cacko 1.23?
« Reply #2 on: June 29, 2006, 08:13:49 pm »
Quote
I don't think it's easily possible to have a card for the root fs.
But as home it should be no problem.
Just format as ext2, create directories for every user and link them into /home

But be careful not to use software which needs files in home when the card is not inserted. This can lead to interesting effects.   

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

Thanks Daniel ... worth a try later ... though I still have the problem of not being able to automount an sd card formatted as ext2.

Anyway, I gave up and reformatted it back to fat16.
Snappy!
------------------------
Akita (Daily use)
<span style='font-size:8pt;line-height:100%'>SL-C1000 with Cacko 1.23 full
Accessories: Wifi XI-825 CF  |  16GB (6) SDHC (Transcend) | 1GB 80x CF (RiDATA PRO-2) </span>

Collie (Sandbox)
<span style='font-size:8pt;line-height:100%'>SL-5500 with OZ/GPE 3.5.4.1 alpha3 build 2006-04-27
Accessories: 512MB A-Data SD | 64MB Toshiba SD</span>

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
How To Use Sd Card As Root Or Home In Cacko 1.23?
« Reply #3 on: June 30, 2006, 02:57:42 am »
Quote
Quote
I don't think it's easily possible to have a card for the root fs.
But as home it should be no problem.
Just format as ext2, create directories for every user and link them into /home

But be careful not to use software which needs files in home when the card is not inserted. This can lead to interesting effects.   

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

Thanks Daniel ... worth a try later ... though I still have the problem of not being able to automount an sd card formatted as ext2.

Anyway, I gave up and reformatted it back to fat16.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133423\"][{POST_SNAPBACK}][/a][/div]

..and now it automounts again?

Strange - I have an ext2 SD card which nicely automounts.
Did you try Meanie's automounter package? I think it also has a new SD handler script.

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

Snappy

  • Hero Member
  • *****
  • Posts: 793
    • View Profile
    • http://
How To Use Sd Card As Root Or Home In Cacko 1.23?
« Reply #4 on: June 30, 2006, 03:03:01 am »
Quote
Quote
Quote
I don't think it's easily possible to have a card for the root fs.
But as home it should be no problem.
Just format as ext2, create directories for every user and link them into /home

But be careful not to use software which needs files in home when the card is not inserted. This can lead to interesting effects.   

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

Thanks Daniel ... worth a try later ... though I still have the problem of not being able to automount an sd card formatted as ext2.

Anyway, I gave up and reformatted it back to fat16.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133423\"][{POST_SNAPBACK}][/a][/div]

..and now it automounts again?

Strange - I have an ext2 SD card which nicely automounts.
Did you try Meanie's automounter package? I think it also has a new SD handler script.

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

Yes, now it automounts ... didn't know about the automounter package.
Snappy!
------------------------
Akita (Daily use)
<span style='font-size:8pt;line-height:100%'>SL-C1000 with Cacko 1.23 full
Accessories: Wifi XI-825 CF  |  16GB (6) SDHC (Transcend) | 1GB 80x CF (RiDATA PRO-2) </span>

Collie (Sandbox)
<span style='font-size:8pt;line-height:100%'>SL-5500 with OZ/GPE 3.5.4.1 alpha3 build 2006-04-27
Accessories: 512MB A-Data SD | 64MB Toshiba SD</span>

uth

  • Full Member
  • ***
  • Posts: 106
    • View Profile
How To Use Sd Card As Root Or Home In Cacko 1.23?
« Reply #5 on: June 30, 2006, 10:09:09 am »
Quote
Quote
Quote
I don't think it's easily possible to have a card for the root fs.
But as home it should be no problem.
Just format as ext2, create directories for every user and link them into /home

But be careful not to use software which needs files in home when the card is not inserted. This can lead to interesting effects.   

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

Thanks Daniel ... worth a try later ... though I still have the problem of not being able to automount an sd card formatted as ext2.

Anyway, I gave up and reformatted it back to fat16.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133423\"][{POST_SNAPBACK}][/a][/div]

..and now it automounts again?

Strange - I have an ext2 SD card which nicely automounts.
Did you try Meanie's automounter package? I think it also has a new SD handler script.

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


Could it be an ext3 vs ext2 issue?  

I have an ext2-formatted SD card, that also automounts in Cacko 1.23.   No additional automount packages installed.

Is there a reason you need to use ext3?   It seems that the journaling on ext3 might wear the card out faster since it's doing more writes.

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
How To Use Sd Card As Root Or Home In Cacko 1.23?
« Reply #6 on: June 30, 2006, 10:36:12 am »
Quote
Quote
Quote
Quote
I don't think it's easily possible to have a card for the root fs.
But as home it should be no problem.
Just format as ext2, create directories for every user and link them into /home

But be careful not to use software which needs files in home when the card is not inserted. This can lead to interesting effects.   

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

Thanks Daniel ... worth a try later ... though I still have the problem of not being able to automount an sd card formatted as ext2.

Anyway, I gave up and reformatted it back to fat16.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133423\"][{POST_SNAPBACK}][/a][/div]

..and now it automounts again?

Strange - I have an ext2 SD card which nicely automounts.
Did you try Meanie's automounter package? I think it also has a new SD handler script.

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


Could it be an ext3 vs ext2 issue?  

I have an ext2-formatted SD card, that also automounts in Cacko 1.23.   No additional automount packages installed.

Is there a reason you need to use ext3?   It seems that the journaling on ext3 might wear the card out faster since it's doing more writes.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133509\"][{POST_SNAPBACK}][/a][/div]

An ext3 card would mount perfectly fine as ext2 but automounters usually try to detect the used FS (which would be ext3 in this case) and try to mount that FS. If the ext3 module is not loaded / available it would fail.

A work-around would be to hardwire the card to ext2 (not auto).
Webmaster of hentges.net & Embedded Linux Developer.

Snappy

  • Hero Member
  • *****
  • Posts: 793
    • View Profile
    • http://
How To Use Sd Card As Root Or Home In Cacko 1.23?
« Reply #7 on: June 30, 2006, 10:31:45 pm »
The sd card was formatted as type 82 (linux) ... and when manually mounted, identify as ext2. I've seen reformatted it as FAT16 (6) and it works fine.

I have another sd which I can try out or I may be getting another SD for storage and may want to try that out again.
Snappy!
------------------------
Akita (Daily use)
<span style='font-size:8pt;line-height:100%'>SL-C1000 with Cacko 1.23 full
Accessories: Wifi XI-825 CF  |  16GB (6) SDHC (Transcend) | 1GB 80x CF (RiDATA PRO-2) </span>

Collie (Sandbox)
<span style='font-size:8pt;line-height:100%'>SL-5500 with OZ/GPE 3.5.4.1 alpha3 build 2006-04-27
Accessories: 512MB A-Data SD | 64MB Toshiba SD</span>