Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Not Cleanly Unmounted< Next Oldest | Next Newest >
Lobes06 Offline





Group: Members
Posts: 5
Joined: Aug. 2006
Posted: Sep. 03 2006,22:19 QUOTE

Quote (brianw @ Sep. 03 2006,18:11)
What version of DSL?
When you shutdown/reboot are there any messages on the screen saying something like:

can't umount ? trying ? instead

Instead of using the shutdown from the menu exit to the prompt and type

sudo shutdown -r now

and follow what is happening, expecially look for the errors above or any other errors reported.

Using DSL 3.0.1.

Yes! When shutting down, there IS a message stating something like:

can't umount / trying /dev/hda1 instead

What does that mean?
Back to top
Profile PM 
brianw Offline





Group: Members
Posts: 245
Joined: Sep. 2005
Posted: Sep. 04 2006,22:41 QUOTE

couple more questions:

When booting you see the "Running from HD ..." correct?

Did you get the same results manually calling shutdown?

What is the output of : sudo fdisk -l

Did you remove the frugal boot command from the boot line (not sure if this affects anything or not but I always remove it)?

I get this problem if I run the reboot or halt commands directly (what happens is the rmount -ro / command does not get run so it does not unmount properly).
Back to top
Profile PM 
Lobes06 Offline





Group: Members
Posts: 5
Joined: Aug. 2006
Posted: Sep. 05 2006,01:51 QUOTE

Here is everything I see on my boot:

Quote

INIT: version 2.78-knoppix booting
Running Linux Kernel 2.4.26
Running fom HD, checking filesystems...
Activating swap...
Checking root file system...
fsck 1.34-WIP (21-May-2003)
/dev/hda was not cleanly unmounted, check forced.
Deleted inode 327743 has zero dtime. FIXED.
/dev/hda1: ***** REBOOT LINUX *****
/dev/hda1: 11836/1753088 files (0.1% non-contiguous), 91685/3504170 blocks

fsck failed. Please repair manually and reboot. Please note
that the root file system is currently mounted read-only. To
remount it read-write:

  # mount -n -o remount,rw /

CONTROL-D will exit from this shell and REBOOT the system.


I get the same results when doing a reboot from the GUI or a shutdown as you advised from the command line. After typing in the command above, and reboot, it loads fine.

The output of sudo fdisk -l is as follows:

Quote

Desk /dev/hda: 14.4 GB, 14453268480 bytes
255 heads, 63 sectors/track, 1757 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

/dev/hda1   *    1    1745    14016681    83    Linux
/dev/hda2        1746 1757   96390          5     Extended
/dev/hda5        1746 1757   96358+       82    Linux Swap


Here is my boot line:

Quote

kernel /boot/linux24 root=/dev/hda1 quiet vga=791 noacpi noapm nodma noscsi frugal


I'll remove the frugal from there to see if it helps.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 06 2006,20:50 QUOTE

The frugal line will just mount the partition that contains the dsl image as read-write, rather than read-only.

If you are only using that for the base image, it should be no problem for you to remove it!
Back to top
Profile PM 
brianw Offline





Group: Members
Posts: 245
Joined: Sep. 2005
Posted: Sep. 10 2006,01:04 QUOTE

Sorry for the delay in responding.  When you say that you run the command I am assuming you run the mount command is that correct?

Have you manually run the fsck command at the prompt before a reboot?

If you type fsck --help (use sudo in front if you are not currently root) you get a list of the options.  If you use -p or -y the process will be automatic (-p repairs automatically -y answers yes automatically each time a fix is required).
Back to top
Profile PM 
12 replies since Aug. 31 2006,23:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Not Cleanly Unmounted

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code