DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i 'accidentally' did rm hda2 and now i cant even boot the system
it keeps keeps checking the file system on every reboot and saying hda2 not found which'd be rite cos i sorta deleted it somehow, any ideas on how i can get it to run again.
i deleted the device, yep.
cfdisk shows the two partitions still but apparently when checking file system during boot up hda2 cant be found - cos it ws deleted.
mite just have to reinstall i suppose, its just tht it was the dhcp, dns and the proxy, had the mail for outlook users, had apache, had mysql php etc etc..basically a pretty crucial machine which i've only just realized..thanks heaps though, i'll have to spend the sunday on it i guess.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
you can boot with the cdrom rescue, then create the
device.
boot, mount the partition with linux, and go in the
device directory /dev
then /mnt/bin/mknod hda2 b 3 2
should create the device.
the full command just depends on where the partition
is mounted mknod ( make device node) b (block)
3 (first hard drive) 2(second partition)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.