LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-25-2006, 06:14 AM   #1
Ibrahimbazar
Member
 
Registered: Mar 2006
Posts: 37

Rep: Reputation: 15
Rescue disk


I have Linux Advance Server 3.0.Earlier I had linux kernel version 2.4.21-4.ELsmp than I upgraded it to 2.4.21-9.0.1.ELsmp.I have one doubt that can I boot to rescue mode with the earlier installation cd which is having linux kernel 2.4.21-4.ELsmp.Can I make changes booting to that installation cd with rescue mode if there is any corruption in any file.
Thanx
 
Old 06-25-2006, 06:30 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
You can, but there is no need to, the installation media in rescue mode and work just fine. You can create you own bootable rescue CD if to want also;

http://sourceforge.net/projects/rescuecd/
 
Old 06-25-2006, 06:42 AM   #3
SlackDaemon
Member
 
Registered: Mar 2006
Distribution: RedHat, Slackware, Experimenting with FreeBSD
Posts: 222

Rep: Reputation: 30
Differences in kernel versions will not cause any problems in accessing rescue mode. However, if you experience filesystem corruption on your root partition you probably won't be able to mount it under /mnt/sysimage
 
Old 06-25-2006, 07:56 AM   #4
Ibrahimbazar
Member
 
Registered: Mar 2006
Posts: 37

Original Poster
Rep: Reputation: 15
This means that i can't repair fstab file through old installation disk
Thanx
 
Old 06-25-2006, 11:19 PM   #5
SlackDaemon
Member
 
Registered: Mar 2006
Distribution: RedHat, Slackware, Experimenting with FreeBSD
Posts: 222

Rep: Reputation: 30
Not necessarily.

As long as your filesystem is not corrupted (partition tables are okay) you will still be able to edit files on your system using an old installation media.
 
Old 06-26-2006, 06:44 AM   #6
Ibrahimbazar
Member
 
Registered: Mar 2006
Posts: 37

Original Poster
Rep: Reputation: 15
Okay I will try to edit the files.If the file system is corrupted than you can not even be able to boot from rescue disk (Installation media of same kernel version).
 
Old 06-26-2006, 07:41 AM   #7
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Almost true, with the rescue boot you still can repair the filesystem(s). FYI: you always want the filesystem(s) to be either not-mounted or read only to do repairs.

See; man fsck
 
Old 06-26-2006, 10:56 AM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
See if this explanation helps ...

A "rescue CD" (or "liveCD") is simply a bootable Linux system on a CD or DVD: one that does not require any hard drive in order to run. You just put the CD into the drive and reboot the system from that CD.

Now, you'll find yourself in a completely stand-alone environment in which any of your hard-drives can be mounted, repaired, inspected, optimized, or what-have-you without any of those drives being "the root filesystem." Furthermore, since the Linux that you are now running is fixed onto the CD, you can't affect it by whatever you do.

So, for example, if you find that you flubbed a change to the Grub or LILO configuration-files and can't boot your machine, you can boot the CD, mount the hard-drive, cd to the proper directory, and edit the file.
Quote:
Originally Posted by Voice of Experience
You need to practice these procedures, ahead of time! Do not wait until the fire is raging to learn how to use a fire-extinguisher!
Another example is doing filesystem verification and repair: you can't do that with a mounted filesystem, but if you have booted from a LiveCD, the hard drive filesystem(s) can be mounted or dismounted at your discretion. Therefore you can perform these tasks.

Finally... a few distros still mumble about "rescue floppy disks." Fuhgeddaboudit! Every computer you'll find these days can boot from a CD or DVD, and more and more of them don't even have (nor do they need) a "floppy" drive.

Last edited by sundialsvcs; 06-26-2006 at 10:59 AM.
 
  


Reply



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
Mandrake rescue disk southsibling Mandriva 1 05-30-2005 06:56 PM
rescue disk lowdown sh4n Linux - Newbie 5 02-11-2005 02:04 PM
Rescue disk UmneyDurak Mandriva 5 08-03-2004 02:49 AM
Rescue Disk Download sonicspeedway Linux - Newbie 3 04-03-2004 06:32 PM
Boot disk, rescue disk deepika Linux - General 3 07-08-2003 01:17 PM

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

All times are GMT -5. The time now is 05:41 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