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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-10-2004, 08:59 AM
|
#1
|
LQ Newbie
Registered: May 2004
Posts: 23
Rep:
|
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.
|
|
|
07-10-2004, 09:40 AM
|
#2
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,305
Rep:
|
when you enter rescue mode, type run
mount
by itself, and it will show you what is mounted where.
|
|
|
07-10-2004, 10:30 AM
|
#3
|
LQ Newbie
Registered: May 2004
Posts: 23
Original Poster
Rep:
|
i try it, but no use, although i can't remember what it exactly mentioned
|
|
|
07-10-2004, 12:11 PM
|
#4
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,305
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 02:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|