LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 09-25-2003, 07:44 PM   #1
cmandan
LQ Newbie
 
Registered: Sep 2003
Location: california
Posts: 25

Rep: Reputation: 15
Smile booting issue (addressed to linux experts)


hello Linux Experts:

My boot-up process hangs with just "GRUB" on the screen. I reinstalled the boot-loader from the 9.0 CD but with the same result. Now, when i go in with the rescue cd, i notice that I cannot execute any command that is there inside /bin directory.It gives me a segmentation fault. The commands in /sbin dir work fine though.

Like,
#mount
#Segmentation fault

#chmod
#segmentation fault

but ls will give me the directory listing.

I think, this is the cause of my bootup halt. During the boot-procedure, it tries to mount a few directories like /proc and others. But mount command does not work and so boot-up does not work either. How to get these commands to work?

I would appreciate your inputs here.

Thanks,
Chirag
 
Old 09-25-2003, 09:22 PM   #2
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
When you boot to the CD does it find your root partition and mount it on /mnt/sysimage?

If so, then "chroot /mnt/sysimage".

Then you should be able to do something like:

grub-install '(hd0)'

Once that is done, try "exit" and then "reboot".

-K
 
Old 09-26-2003, 10:51 AM   #3
cmandan
LQ Newbie
 
Registered: Sep 2003
Location: california
Posts: 25

Original Poster
Rep: Reputation: 15
when i do grub-install '(hd0)' I get
/dev/hd1 does not have any corresponding bios drive

Please help.....very urgent...
 
Old 09-29-2003, 02:49 PM   #4
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
I have had that too.. I fixed it, but I did two things and I am not sure which one fixed it. Maybe both.

1. Update GRUB package to the latest you can find. Compile from source if you have to.

2. in the "device.map" file in your grub directory, make sure you have entries for both (hd0) and any partitions you are using in grub.conf, like (hd0,0) and so on and so forth.

Post the contents of grub.conf and device.map if you have trouble.
What distribution of Linux?

-K
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux: By Experts - For Experts Cinematography General 10 05-12-2005 02:14 AM
Linux booting issue... rrfish72 Linux - General 2 12-15-2004 11:32 AM
For Linux Experts.....only avols143 Linux - Software 7 02-28-2004 11:17 AM
looking 4 linux experts collegelinux Linux From Scratch 1 02-15-2003 02:41 PM
Linux Expert Qwestion Stumper: Garunteed to stump linux experts or your money back! psyklops Linux - General 28 09-10-2002 09:05 AM


All times are GMT -5. The time now is 05:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration