You are not logged in.

#1 2008-06-18 01:35:07

Dr Small
Member
From: Behind a Terminal
Registered: 2008-03-02
Posts: 59
Website

Accidentially Removed /boot !

Ok, so I know it was my mistake and I was just a big dummy. But I was removing (or rather, trying) to remove a 'boot' directory in my home folder, and accidentally appended '/' to the beginning of it, and erased everything out of my /boot!

What can I do?
I haven't rebooted nor done anything to the partition!

what a bugger.. I just got the system up and running too.
Is there anything I can do?

Dr Small

Offline

#2 2008-06-18 01:37:03

vsk
Member
Registered: 2008-05-27
Posts: 70

Re: Accidentially Removed /boot !

DId you use shred or rm? Or a file manager?

Offline

#3 2008-06-18 01:37:39

Dr Small
Member
From: Behind a Terminal
Registered: 2008-03-02
Posts: 59
Website

Re: Accidentially Removed /boot !

I simply used:

sudo rm -R /boot

Offline

#4 2008-06-18 01:42:15

vsk
Member
Registered: 2008-05-27
Posts: 70

Re: Accidentially Removed /boot !

I haven't ever heard of that happening...

Well, if I were you...;

# mkdir /boot
# pacman -S grub kernel26

Those are the 2 main things in /boot, no? After that, redo your grub menu.lst and hope for the best...

Offline

#5 2008-06-18 01:42:46

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Accidentially Removed /boot !

Well, you can always reinstall kernel, grub, edit /boot/grub/menu.lst. That should be enough.

Offline

#6 2008-06-18 01:44:09

Dr Small
Member
From: Behind a Terminal
Registered: 2008-03-02
Posts: 59
Website

Re: Accidentially Removed /boot !

What about vmlinuz, where does that play in at? because it is missing too.

Offline

#7 2008-06-18 01:45:38

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Accidentially Removed /boot !

I just checked and on my system only two packages own files in /boot -- kernel26 and grub.  So you should be able to rescue your system by booting using an install cd, chrooting into your actual system, reinstalling grub and kernel26 packages and your system should be back where it was before.  You'll probably need to redo the grub configuration again before it actually boots...

Offline

#8 2008-06-18 01:48:42

Dr Small
Member
From: Behind a Terminal
Registered: 2008-03-02
Posts: 59
Website

Re: Accidentially Removed /boot !

Well, I am still on the system without the kernel, everything is still running fine. No need to chroot if I don't have to. What I need to do though, is get vmlinuz, because that is needed to boot the system, if I am correct, as GRUB calls that.

I already have Grub reinstalled, got the menu.lst straightened out, and will get the kernels next, but I need to know about vmlinuz.

Offline

#9 2008-06-18 01:54:07

Dr Small
Member
From: Behind a Terminal
Registered: 2008-03-02
Posts: 59
Website

Re: Accidentially Removed /boot !

Forget it. I just went ahead and upgraded my kernel again (2.6.24... the one that works) and it went ahead and created vmlinuz26. Well, here goes nothing. 2 days of tedious work, all down the tubez.

/me reboots

Wish me luck!

Offline

#10 2008-06-18 02:13:19

Dr Small
Member
From: Behind a Terminal
Registered: 2008-03-02
Posts: 59
Website

Re: Accidentially Removed /boot !

Everything turned out fine. Thanks for the help and support guys. smile

Offline

#11 2008-06-18 02:25:07

vsk
Member
Registered: 2008-05-27
Posts: 70

Re: Accidentially Removed /boot !

phew.. One last question - isn't vmlinuz included with the kernel package? Is there a seperate package for it??

Offline

#12 2008-06-18 02:35:11

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Accidentially Removed /boot !

$ pacman -Qo /boot/vmlinuz26
/boot/vmlinuz26 is owned by kernel26 2.6.25.6-1

Offline

#13 2008-06-18 02:42:57

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Accidentially Removed /boot !

One last question - isn't vmlinuz included with the kernel package? Is there a seperate package for it??

vmlinuz is the kernel image.
virtual memory linux zipped image. smile

Offline

Board footer

Powered by FluxBB