nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Linux boot partition

This is a discussion on Linux boot partition within the Linux software forums, part of the Linux Getting Started category; Hi, How to recover the /boot partition in linux if it gets corrupted.waiting for the solution. With Regards, Ramji...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 10:38 AM
Junior Member
User
 
Join Date: Mar 2006
Location: madurai
Posts: 22
Rep Power: 0
ramjimh
Send a message via Yahoo to ramjimh
Default Linux boot partition

Hi,

How to recover the /boot partition in linux if it gets corrupted.waiting for the solution.

With Regards,

Ramji
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-24-2008, 06:48 PM
Member
User
 
Join Date: Mar 2008
My distro: Debian, Slackware, LFS
Posts: 83
Rep Power: 1
Tux-Idiot is on a distinguished road
Talking

2 ways.
#1. boot in single user mode. create a /boot1 directory and make an exact copy of what you have in /boot corresponding to that OS. then re-map it with fstab and link it with the kernel and run other checks needed to see if it works OKAY. in debian we use the debootstrap forgot the RHEL x.x ways.
#2. use a live cd and fix it or use a livecd with rescue mode on and fix it.
i happen to delete my library files with rm -frdv switches and from he-man i ended up cursing myself wtf-man! and i had no other go than use a livecd and fix it or reinstall.
soln 1+2 = create back the boot, run all checks, restore it to what it was before. plug and play ONLINE. wewwwww. the abs got a script which lets you create a pseudo filesystem in the mounted filesystem. follow it and get it done. and when done? remove the current boot partition and beautify it and add back to fstab with new boot map which you copy/clone from the pseudo filesystem and rack it up. netbsd also has an excellent tut which is the section creating an encrypted volume/cd/dvd/disk. remove the crypto commands and do the same for boot. and check with the installed OS details as how the filesystem is organized esply the boot. it mostly got the kernel and initrd and device map and et al. and then finally grub-install
good luck.

Last edited by Tux-Idiot; 03-24-2008 at 06:53 PM.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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

Similar Threads

Thread Thread Starter Forum Replies Last Post
problem with linux-2.6.12 kernel at boot time khadar Getting started tutorials 0 09-12-2007 03:38 PM
Script file to be run when linux boot adhikari.rohit Shell scripting 7 05-22-2007 07:59 PM
mount one partition of one linux server on other linux serve Jaggu Linux software 1 08-07-2006 10:47 PM
Linux use ghost or copy a partition to another drive raj Linux software 2 07-17-2006 01:56 AM
windows partition mounting problem in linux as4.o ramjimh Linux software 4 04-22-2006 12:04 AM


All times are GMT +5.5. The time now is 06:03 AM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36