I installed Puppy 0.99 with a slightly hacked version of Barry's hd install script (read: I removed the floppy section and installed lilo myself). Everything is cool, generally, however, when I boot Mandrake on the same machine, I message is displayed at stratup that states that /dev/hdc7 (my puppy parition) was not umounted correctly. The following file system check very occassionally finds errors.
I want to make sure that Puppy's root parition is umounted correctly at shutdown. Can someone tell me which script i should be looking at?
Cheers
hard drive install - problem with unmounting / at shutdown
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Yes, at bootup, there are three different shutdown scripts in /etc/rc.d/ -- rc.reboot, rc.reboot-cd and rc.reboot-hd.
rc.sysinit determines which one is applicable -- rc.reboot for the normal situation booting from live-CD or usb-stick, rc.reboot-cd if multisession-cd, and rc.reboot-hd if a full "Option 2" hard drive installation.
Whichever one is appropriate gets copied to /tmp/rc.reboot, and that will execute at shutdown.
The above explanation is for Pup 1.0.2, not earlier versions.
rc.sysinit determines which one is applicable -- rc.reboot for the normal situation booting from live-CD or usb-stick, rc.reboot-cd if multisession-cd, and rc.reboot-hd if a full "Option 2" hard drive installation.
Whichever one is appropriate gets copied to /tmp/rc.reboot, and that will execute at shutdown.
The above explanation is for Pup 1.0.2, not earlier versions.