Deleted /boot folder
I somehow accidently managed to delete the /boot folder :(
How do I install it without installing the whole slackware again..
I am using slackware v8.1
also having problem with lilo .. when it boots up it display this reapeated number .. and doesn't boot up :(
please please help
Thanks in advance
well you're stuffed really, you just deleted your kernel (no wonder lilo ain't working) it should be possible to use a rescue disk to reinstall it, but you'll be stabbing in the dark so so much, it's not likely to be worth the hassle, reinstall
thanks ..but is it apossible to copy the kernel in the floppy to the hard drive? and will it work the same?
also wondering if and how is it possible to have a partition of 10MB just to boot up the lilo from there.
Use your install CD's rescue function. You can't boot into Linux because you have no kernel. It is stored in /boot. :D
Some distros mount some stuff for you, but I don't know slack's proceedure. Checking their home page for that would be advisable.
I don't know your partitioning scheme, which is necessary to check your /etc/lilo.conf
Basically, mount your / partition, if you created a separate /boot partition, make a /boot directory in / and mount that as well.
cd to /usr/src/linux under where you mounted / and compile another kernel and then copy it to where you mounted /boot.
# Disaster resources
LILO mini HOWTO
Multiboot with LILO HOWTO
LILO, Linux Crash Rescue HOW-TO
Installing a bootloader
KNOPPIX Linux Live CD
Linux Bootable Business Card
Tom's Root and Boot floppy
2. If you are asking about a separate /boot partition, that might be a little tight. I recommend between 20 to 100 mb for a separate /boot partition, depending on how many kernels you want to play around with.
Article on proper filesystem layout.
ok here is what i done to install slackware 8.1:
hd space : 1.6G
hda1 -> size: 10M type: linux /primary
hda5 -> size: 200M type: linux swap /logical
hda6 -> size: rest type: ext2 /logical
i thought i could make the hda1 to boot up with lilo, but don't know how to copy the lilo to the partition :(
is my partitions ok?
even before deleting the /boot folder i have problem with lilo..
when booted up it displayed repeated no like... 4 4 4 4 4 4 4 4 ........... so on and L L L L L L L
what is the best way to install slackware? i mean how are partitions should be??
many thanks again for your help...
i am really new to linux.. but i am getting to like it :)
With that drive, I suggest either 2 or 3 partitions. If you choose ext 2 (good) or ext3 (better) filesystems, go with 2 partitions, otherwise make a /boot partition as I suggested before.
Make all of them primary partitions.
swap - 128 mb
/boot (if needed) - 40 mb
/ - the rest of the space
You may want to add a drive later for your /home partition as it makes changing your mind and saving stuff easier.
This article - Installing a bootloader is a guide to help you understand either grub or lilo.
and.. which partition do i make bootable?
and when installing lilo... what do they mean by "install lilo in supernode?? or in MBR??
where does supernode or MBR reside?? which partition??
I gave two choices and you didn't tell me which you chose! :cry:
I don't think you have to "make bootable" in Linux. I think that's a Windows thing. The loader does that.
If I am wrong, here is a WAG:
Assuming you are going with 2 partitions, /
Assuming you are going with 3 partitions, /boot
With a Linux only system, install your bootloader in the mbr.
The mbr is the first 1024 byte block on a hard drive, I think. The Rute guide knows for sure................
hda1 -> type: linux swap size: 128MB - primary
hda5 -> type: ext3 size: rest - primary
then install the lilo on MBR ( I have linux only )
would this be correct??
also when slackware installs apache & mySql, are they ready to be used or they need to be compiled??
|All times are GMT -5. The time now is 03:04 AM.|