hard drive install - problem with unmounting / at shutdown

Using applications, configuring, problems
Post Reply
Message
Author
Guest

hard drive install - problem with unmounting / at shutdown

#1 Post by Guest »

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

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#2 Post by Ian »

Have a look in /tmp/rc.reboot.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#3 Post by BarryK »

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.

Post Reply