Firstly apologies to Shallax, with whom I have already annoyed with an email about this!
However, I thought it was a good enough suggestion to warrant a post here allowing others to comment, and potentially so it doesn't get forgotten.
What I would like is for there to be an automatic (ie forced) fsck done when GentooX boots, fixing up any errors found. The fsck is only needed if the xbox is shutdown improperly (eg by accidentally pressing the power button). So shutting down via halt/reboot scripts etc would not cause auto-fsck to be invoked.
How would it work? The following is a wild guess:
I thought that Gentoox loader (bios?) could check for the presence of a flag/file when starting, and if so do a pass over the filesystem fixing things up, before rebooting into Gentoox proper. The loader would then set the flag for the next time. The normal reboot/halt scripts would reset this flag removing the need for a forced fsck during the next boot.
It would probably be desirable to allow this feature to be enabled or disabled during initial setup, and subsequently too.
Obviously this is not a do-in-half-an-hour feature.... so feel free to come up with better ways.
Thoughts?
Auto-fscking when improperly shutdown
Auto-fscking when improperly shutdown
v1.1 xbox, stock HD, soft-modded [uxe+ dualboot: UnleashX/GentooX], with Pro2.0
v1.4 xbox, stock HD, Xecuter3 (X3 3294), running headless with Home 6.1
v1.4 xbox, stock HD, Xecuter3 (X3 3294), running headless with Home 6.1
-
- Power user
- Posts: 239
- Joined: Wed Jan 26, 2005 1:32 pm
- Location: Luton UK
- Contact:
I think you'll find there are issues with running fsck under Gentoox as it doesn't suport FatX, it my be an option in a fully native environment, but Shallax isn't really interested in native installs.
Go fully native, it's the destiny of all Mk1 Xboxes
The needs of the many out way the needs of the few or the one ...
The needs of the many out way the needs of the few or the one ...
cheesyboofs said
orochi said
I guess I'm suggesting that it should be sparkle doing the work automatically, by arranging to change the "default" linux to boot with from GentooX to Sparkle for just one boot.
As to the history...Why suggest the feature?
For my own selfish reasons as I run my GentooX installs headless (& controller-less)*, using ssh & sometimes VNC.
Nothing like mistakenly taking down your networking when its the only way to safely access and 'halt' your box.
The small nasty power button looms large...
*Using Sparkle manually is not really an option under these circumstances... sigh.
As to native versions, I'm not running native (perhaps in the future, but would need a bigger HD). Just a stock 'E' install. So thats not an issue for me.but Shallax isn't really interested in native installs.
orochi said
As to fscking mounted fileystems, they need to be read-only (under other *nixes anyway). Journalling maybe a complication, but Sparkle handles this. I've seen it replay the journal before starting...i dont think you can fcsk anything thats mounted
I guess I'm suggesting that it should be sparkle doing the work automatically, by arranging to change the "default" linux to boot with from GentooX to Sparkle for just one boot.
As to the history...Why suggest the feature?
For my own selfish reasons as I run my GentooX installs headless (& controller-less)*, using ssh & sometimes VNC.
Nothing like mistakenly taking down your networking when its the only way to safely access and 'halt' your box.
The small nasty power button looms large...
*Using Sparkle manually is not really an option under these circumstances... sigh.
v1.1 xbox, stock HD, soft-modded [uxe+ dualboot: UnleashX/GentooX], with Pro2.0
v1.4 xbox, stock HD, Xecuter3 (X3 3294), running headless with Home 6.1
v1.4 xbox, stock HD, Xecuter3 (X3 3294), running headless with Home 6.1