LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-27-2002, 11:46 PM   #1
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
help!!!


i was upgrading glibc and now when i try to boot up, i get an error message that says that /dev/hda3 (lfs partition) was not cleanly unmounted, then it hangs up on "setting hostname to lfs"

i was doing a lot of stuff, and i think that i might have run /sbin/lilo from that (the wrong) partition, but i'm not sure. anybody know what i can do?
 
Old 07-28-2002, 12:04 AM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
The quickest dirty way I can think of to fix LILO is get a copy of distro installer, RedHat and Slackware do a good job of this, let it load the kernel and get to the installation, flip to another terminal with a CTRL+ALT+F2, mount the root partition of where-ever the proper lilo is, chroot into that, and then fix/re-run lilo. If your box doesn't boot off of cdrom, there's always floppy Linuxs like Toms (which can't handle Reiser or Ext3 at last check, or just making a bootdisk for the distro CD.

Cheers,

Finegan

Okay, I checked, toms doesn't do reiser, and evidently never will, and will do ext3 but not for a while.

Last edited by finegan; 07-28-2002 at 12:08 AM.
 
Old 07-28-2002, 12:32 AM   #3
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Original Poster
Rep: Reputation: 30
thanks for the help, i guess I somehow I screwed up the filesystem... I ran e2fsck and it seems to have been solved. what do you think i did to cause that to happen?
 
Old 07-28-2002, 12:37 AM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
An improper unmount of the drive? Any number of things, make sure your LFS rc scripts are fine is the biggest thing I guess, also if I remember right, lfs doesn't run an automatic fsck in the case of an improper unmount does it?

Cheers,

Finegan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i cleanly stop a service? n0vembr Linux - General 18 07-29-2005 05:11 AM
Root FIlesystem not cleanly unmounted bouke Fedora 2 08-03-2004 02:24 PM
Shouldn't a distro compile cleanly? Tino27 Linux - General 2 11-08-2003 08:30 PM
not cleanly unmounted check forced christyc Linux - General 6 08-24-2002 01:19 PM
...not cleanly unmounted error? RonRussell Linux - General 0 03-15-2002 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration