Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: improper shutdown - root unionfs and power off

  1. #21
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    I think I will wait for a while before I do further posts. As I was thinking about it, since I tested everything using knoppix 6.2 as the base, maybe in 6.2.1 or 6.3 these have been changed. Then I was probably shooting in the air then.

    Unless someone could post the minirt.gz and /etc/init.d/knoppix-halt for 6.3 in this forum then at least I could confirm it .....

  2. #22
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    More.

    As it's not just a matter of pure script changes, it includes a static version of /sbin/init inside minirt.gz, I tried to upload my fixes here, which contains of 3 files, minirt.gz, /etc/init.d/knoppix-halt and /etc/init.d/knoppix-halt.actual ( all in it's slightly more than 1 MB ), unfortunately the forum limits the maximum file size which I could post here. And therefore I have to abort the idea of putting forward the fix here.

    In any case, I am pretty contended with my changes, as it allows me to cleanly shutdown and umount everything, including umounting /KNOPPIX-DATA, /UNIONFS, /KNOPPIX and /mnt-system. Yes, ***EVERY*** single file system is cleanly detached before the system is put to power off or reboot. Hibernating knoppix is almost unnecessary, as knoppix boots up pretty fast, more so if knoppix-data.img resides on hard disk.

  3. #23
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by kl522 View Post
    More.

    As it's not just a matter of pure script changes, it includes a static version of /sbin/init inside minirt.gz, I tried to upload my fixes here, which contains of 3 files, minirt.gz, /etc/init.d/knoppix-halt and /etc/init.d/knoppix-halt.actual ( all in it's slightly more than 1 MB ), unfortunately the forum limits the maximum file size which I could post here. And therefore I have to abort the idea of putting forward the fix here.
    I suggest creating a google.com account for the purpose and using the relatively new "upload any document" feature to post files on the web. Once you share them with the world you can get the URL and post THAT on the forum (which would be most appreciated.)

    Krishna

  4. #24
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    OK here is the links :-

    http://docs.google.com/leaf?id=0B2_e...YWZlNGUy&hl=en
    http://docs.google.com/leaf?id=0B2_e...NjNiMzk5&hl=en
    http://docs.google.com/leaf?id=0B2_e...ODI0NTli&hl=en

    The file 'minirt.gz' will have to go the replace the existing minirt.gz.
    The file 'knoppix-halt' will also go to replace the existing /etc/init.d/knoppix-halt
    The file 'knoppix-halt.actual' is a new file to reside in /etc/init.d, but make sure it has execution permission for root,
    ie chmod u+rx /etc/init.d/knoppix-halt.actual.

    Everyone can use the software but there is no warranty whatsoever. Certainly I am not responsible for whatever data loss or corruption it might cause. Nevertheless, if you have difficulties, you can also post here for community-based support.

    For whatever reason if you don't trust the binaries included, you can also compile it yourselves and still use the scripts included.

  5. #25
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Please use this for knoppix-halt.actual as I found that the remnant of debugging code was still there :-

    http://docs.google.com/leaf?id=0B2_e...NjNiMzk5&hl=en

  6. #26
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Sorry I make big blunder, the GUI is confusing me

    http://docs.google.com/leaf?id=0B2_e...ut=list&num=50

    Whatever it is, inside the script, the line '/bin.static/busybox sh' below the line '#debug' should be commented.

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit picture

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit

$19.99



Windows XP, Vista, 8.1, Linux Knoppix, Office XP,  (6 CDS) picture

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)

$12.00



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$5.99



KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED picture

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED

$11.99



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.00



VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION) picture

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)

$7.97



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$7.00



Vintage Linux DVD - Knoppix 5.2 - c't Magazine - 7 / 2007 - Software Collection 2 picture

Vintage Linux DVD - Knoppix 5.2 - c't Magazine - 7 / 2007 - Software Collection 2

$8.08



Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006 picture

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006

$34.64