Author Topic: error booting dingux  (Read 3767 times)

alc112 (OP)

  • *
  • Posts: 7
error booting dingux
« on: January 14, 2010, 04:17:34 pm »
hi! yesterday I could install dingux an also access to it. I could play some games as well. But now I can't. When booting I get an error that says something like "unable to open filesystem for writing any change to system will not persist".
The only thing I did was to transfer some rom files to the miniSD card using native browser.
What can I do?

Thanks a lot

joyrider

  • *
  • Posts: 220
    • Willems Soft
Re: error booting dingux
« Reply #1 on: January 14, 2010, 06:22:28 pm »
your filesystem is messed up reformat the sd card and put the files back on it (zimage etc) this happens sometimes

thingley

  • *
  • Posts: 9
Re: error booting dingux
« Reply #2 on: January 14, 2010, 06:32:32 pm »
or if your PC runs linux you can try fixing it from the command line by typing something along the lines of:

dosfsck -a /dev/sdb1         (Where /dev/sdb1 is your SD card!)

I've fixed my card a couple of times this way when dingux has become corrupted. It's worth a try before reformatting and copying everything.
« Last Edit: January 14, 2010, 07:06:21 pm by thingley »

alc112 (OP)

  • *
  • Posts: 7
Re: error booting dingux
« Reply #3 on: January 15, 2010, 02:15:26 am »
Thank you guys. I formated the sd card and now is working
I have a liveCD of linux. would you please explain me to me what you mean I can do on  linux to fix the problem?
It takes 40 minutes to fill again the Sdcard with the local pack and I've done it 3 times already.
By the way, mame4all tells me there's no rom but I did put some roms i the roms directory. I checked the compatibility list also and tried with wonderboy game and still it is not recognized. (they are all zipped)

Kalisiin

  • Guest
Re: error booting dingux
« Reply #4 on: January 15, 2010, 04:45:09 am »
Thank you guys. I formated the sd card and now is working
I have a liveCD of linux. would you please explain me to me what you mean I can do on  linux to fix the problem?
It takes 40 minutes to fill again the Sdcard with the local pack and I've done it 3 times already.
By the way, mame4all tells me there's no rom but I did put some roms i the roms directory. I checked the compatibility list also and tried with wonderboy game and still it is not recognized. (they are all zipped)

Are they correctly NAMED?
You can't re-name the .zips.  They have to be the name that MAME is expecting to find.
Check your gameslist.txt file against what the name of your .zip is

Sometimes, a zip on one place could be named, say, "galaga1.zip" and even though everything is right, MAME expects to find "galaga.zip" and so won't find your ROM.

MAME is very picky, you MUST match the file name it expects to see.

Bouvrie

  • *
  • Posts: 124
Re: error booting dingux
« Reply #5 on: January 15, 2010, 06:39:29 am »
Re: the Linux command: I believe the Windows counterpart (scandisk/chkdsk) would function equivalently.

I personally rely on formatting, because the filesystem is mounted read-only because there's something wrong with it. Although a scan&fix might help recovering it enough to boot, I still wouldn't be certain that all files come out of it unharmed.
Write/save problems? Segmentation faults? Black screens? Read the Troubleshooting and FAQ guide first to fix your issues! :)
SD Card readonly/corruption issues? Chkdisk /F and steer clear from DMenu: use GMenu instead!

thingley

  • *
  • Posts: 9
Re: error booting dingux
« Reply #6 on: January 15, 2010, 06:57:44 pm »
Re: the Linux command: I believe the Windows counterpart (scandisk/chkdsk) would function equivalently.

I personally rely on formatting, because the filesystem is mounted read-only because there's something wrong with it. Although a scan&fix might help recovering it enough to boot, I still wouldn't be certain that all files come out of it unharmed.

I understand your point of view. It is the only way to be 100% certain that everything on the card is as it should be.

I keep a backup of my entire Dingux installation and tend to backup saves I care about to my PC - or just to the dingoo's internal memory if I'm on the move (I use the native browser to copy the save file if I'm playing to complete a game).

But as far as dingux corruption goes, a full reformat plus three quarters of an hour spent writing everything back (I have an 8gig card) seems a lot of wear and tear on the card. And it is all to fix a problem that I know will reoccur sooner or later. To be honest i don't even know what the maximum number of writes to a microSD card is but I'm not in any real hurry to test!  ;D

I've repaired my sd card with dosfsck twice now. The first time dosfsck actually named a file in a dmenu folder that was corrupt so I just copied the whole of dmenu back onto the card from my backup and everything worked. The second time it reclaimed some space. I don't know what from, but if a few files are missing some data somewhere on my sd card it hasn't caused me a problem yet. I admit I'm not over-worried though as I'm not about to write my first novel on dingux.

I'll keep backing up my save games - anything else I can replace if I have to!

Chris23235

  • **
  • Posts: 603
Re: error booting dingux
« Reply #7 on: January 16, 2010, 10:45:13 am »
I always use chkdsk on windows to fix the corruption, never had any problem, the syntax is

chkdsk [n]: /x /f /r

[n] is the letter of the drive, the sd card is inserted.

Kalisiin

  • Guest
Re: error booting dingux
« Reply #8 on: January 16, 2010, 11:20:29 am »
I always use chkdsk on windows to fix the corruption, never had any problem, the syntax is

chkdsk [n]: /x /f /r

[n] is the letter of the drive, the sd card is inserted.

This ought to be stickied!!
Would be helpful to have this in an easily findable place on this website.

thingley

  • *
  • Posts: 9
Re: error booting dingux
« Reply #9 on: January 16, 2010, 12:45:08 pm »
Okay... to achieve the same thing from a linux box (I'm not really an expert - but this is how I do it!). I make sure that I have copied any save files that are important to me from the sd card first.

You first need to know where your SD card is mounted. I'm using Ubuntu karmic on my acer aspireone netbook. Your distribution may mount the card somewhere different to mine! The way I do this is to:

open a terminal
type mount
plug in my sd card using a card reader (give it a second to be mounted)
then type mount again
and spot the difference!

When I do this I see that a new device has appeared at the end of the mount list called '/dev/sdb1' when I plugged in my sd card.

That's all I needed to know!
I can now run dosfsck to scan the card and fix those file system errors.
You need to replace the /dev/sdb1 part of this last command with whatever your device is called.

[email protected]:~$ sudo dosfsck -a /dev/sdb1

« Last Edit: January 16, 2010, 03:17:59 pm by thingley »

 

Post a new topic