Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-04-2002, 02:55 PM   #1
Scott Jones
LQ Newbie
Registered: Mar 2001
Location: King of Prussia, Pa.
Posts: 2

Rep: Reputation: 0
Emergency Boot

Ok, Sorry about this dumb question. Have Red Hat 7.3 with a dule boot using Windows 98. Trying to boot using the Emergency boot disk created when the distro was installed. Trying to make a new root password. Wrote it down wrong or something. Can get in as a client but not as root. Followed instructions from another thread by putting in the Emergency disk. Machine won't boot with disk in "a" Drive. Removed disk. GRUB gives me the option of starting windows or Reh hat. Tried putting in disk and then selecting Red Hat to run. It runs but ignores the disk in the a drive.

Also tried loggin in as client and attempting to change root password per instructions in my O'Riley book. No go. I know that I am doing something stupid. Just can't figure it out. Anyone out there can suggest a particular HOW TO to guide me? Or any other advice will do.

Even if there is another way to change root password would like to know how to boot using disk created for that purpose.


Old 09-04-2002, 03:08 PM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Try putting in your redhat disc, and starting up as if you were going to install. Then, once at the first screen, you should be able to press enter or something else, maybe F1. Press F1 for help might be the wording. So press F1, then if you read through the options, you should have a "rescue" option. So type rescue, then enter. This will take you into rescue mode. Mount the drive, in say, /mnt and then you will need to access the /etc/passwd file. In there you will see a user called root. Delete the X in roots entry. Now go ahead and restart, root will have no password, so you will need to make a new one.

Old 09-04-2002, 03:46 PM   #3
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
To mount a disk use
fdisk /dev/hda
to run fdisk, if you don't know how is your Linux partition called (/dev/hdax where x is a number)
press 'p' to list your partitions, look which one is EXT3, if you have more then one, look at sizes, note down the partition name
press 'q' to quit fdisk

Then, to create a directory to mount your disk to:
mkdir /mnt/linux

And to mount:
mount -t ext3 /dev/hdax /mnt/linux
(replace x with the right value in your system).

Now you should have your Linux main partition mounted to /mnt/linux, so you need to edit /mnt/linux/etc/ files.
Old 09-05-2002, 09:45 AM   #4
Scott Jones
LQ Newbie
Registered: Mar 2001
Location: King of Prussia, Pa.
Posts: 2

Original Poster
Rep: Reputation: 0
Smile Emergency Boot

Thanks for the info. In the deep south for the next few days. Can't wait to get back to try the advice. Will let you know how it went.



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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Emergency !! Hampster Mandriva 4 10-31-2005 02:35 PM
redhat 9 boot disk emergency pantera Red Hat 1 05-27-2005 12:05 AM
help emergency please AndrewZorn Linux - General 12 04-04-2005 09:28 PM
Emergency - Can't Boot Jaw3000 Linux - Newbie 5 03-13-2004 12:06 PM
Change partition list, cant boot, emergency hydro Linux - General 3 07-25-2003 03:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:56 PM.

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