LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-10-2004, 08:59 AM   #1
morrisset
LQ Newbie
 
Registered: May 2004
Posts: 23

Rep: Reputation: 15
about rescue mode


Hi,
I meet a big trouble!

because i wanna update my linux 2.40 to 2.6.7-bk, I modify my grub.conf and fstab to solve the kernel panic problem like following list:

modify fstab to£º

/dev/hda8 / ext3 defaults 1 1
/dev/hda7 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda9 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

modify grub to£º
title Red Hat Linux (2.6.7-bk6)
root (hd0,6)
kernel /vmlinuz-2.6.7-bk6 ro root=/dev/hda8
initrd /initrd-2.6.7-bk6.img


but after that, I can't enter 2.6.7 ,even 2.40 either!

now I try to enter the rescue mode to re-modify the system file grub.conf and fstab, but i didn't find them!

Does anybody be so kind tell me what shall i do then? how to solve this problem.

following list is the information before i modify my file


this is fdisk list
quote:
--------------------------------------------------------------------------------
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1020 8193118+ b Win95 FAT32
/dev/hda2 1021 9796 70493220 f Win95 Ext'd (LBA)
/dev/hda5 1021 3570 20482843+ b Win95 FAT32
/dev/hda6 3571 6630 24579418+ b Win95 FAT32
/dev/hda7 6631 6643 104391 83 Linux
/dev/hda8 6644 9666 24282216 83 Linux
/dev/hda9 9667 9796 1044193+ 82 Linux swap


this is /etc/fstab list

quote:
--------------------------------------------------------------------------------
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda9 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

Last edited by morrisset; 07-10-2004 at 09:08 AM.
 
Old 07-10-2004, 09:40 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,305

Rep: Reputation: 66
when you enter rescue mode, type run
mount
by itself, and it will show you what is mounted where.
 
Old 07-10-2004, 10:30 AM   #3
morrisset
LQ Newbie
 
Registered: May 2004
Posts: 23

Original Poster
Rep: Reputation: 15
i try it, but no use, although i can't remember what it exactly mentioned
 
Old 07-10-2004, 12:11 PM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,305

Rep: Reputation: 66
then i guess you'll have to mount the partitions yourself. make mountpoints in /mnt and mount away.
mkdir /mnt/hda7
mount /dev/hda7 /mnt/hda7
cd /mnt/hda7/etc
cat fstab
and such
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
rescue mode question kscott121 DamnSmallLinux 0 09-08-2005 06:42 PM
Debian rescue mode adityavpratap Debian 1 06-24-2005 05:00 AM
rescue mode hansi umayangan Linux - General 1 03-17-2005 12:43 AM
How could I go into Rescue Mode??? unixfreak Linux - Newbie 20 08-24-2004 10:19 PM
Rescue Mode Help dsiguy Linux - General 9 09-24-2003 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:24 PM.

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