LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-02-2007, 06:41 AM   #1
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Rep: Reputation: 34
messed up /boot and /usr


--------------------------------------------------------------------------------

hi. . . im a idi** i was trying to retrieve my MBR (slackware being the main) when it was over writed by Vector5.8's MBR.. sad to say when i inserted the slack cd.. and tried mounting the partitions of my slack (since i have separate parititons for /, /boot, /tmp, /home, /usr, /var etc.. ) i accidentaly RM the mounted partition of /boot :

eg.

>/mnt mount /dev/hdc6 (boot partition) /mnt/testboot

>/ rm testboot

> cannot rm : resource or drive is busy...

>/ umount /dev/hdc6 /mnt/testboot

but when i tried mounting it again.. its gone


i cannot anymore boot my slack
 
Old 03-02-2007, 09:58 AM   #2
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Rep: Reputation: 33
I'm not quite sure if I understand correctly. Before you went ahead ans started removing anything, was /dev/hdc6 mounted as /boot, or did you unmount /dev/hdc6 prior to remounting as /mnt/testboot? If /boot is gone, had you create a LILO boot disk to gain access to Slackware, or used the first Slackware CD or DVD? If /boot is gone, then you may be able to recreate it by creating the directory and then copying over your kernel image.

Was /usr also on /dev/hdc6? How was this affected in the process?
 
Old 03-03-2007, 12:40 AM   #3
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
ok.. /boot is mounted on /dev/hdc6 and /dev/hdc10 is /usr so whenever i mounted this 2 partitions on my created dir, there are no more contents bcause everytime i make "ls" command no files are being displayed. . .
 
Old 03-04-2007, 01:29 AM   #4
ic_torres
Member
 
Registered: Nov 2005
Location: ABAP
Distribution: slackware 12.0, Vector Linux STD 6.0 and 5.8, ZenWalk 4.6.1, OpenBSD 3.9
Posts: 389

Original Poster
Rep: Reputation: 34
hi just wanted to ask. .i was given this link

http://tldp.org/HOWTO/Ext2fs-Undeletion.html#toc12

regarding recovering (my /boot) which is an ext2 type of fs...

any one who has done this?

BTW its my first time to encounter having rm my /boot when i mounted it in a directory
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Messed up partitioning - CAN'T BOOT tolstyi Linux - Software 6 11-05-2006 11:15 AM
I messed up my /boot... tea of evil SUSE / openSUSE 1 10-14-2006 05:08 PM
help,i've messed up /usr/lib ! tacca Linux - Software 1 07-12-2006 05:44 AM
Boot loader messed up Dendeii Linux - General 2 02-23-2006 04:08 PM
RedHat X boot messed up dmanchepalli Red Hat 0 02-14-2005 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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