[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /boot partition erased (help needed)



On Thursday 16 August 2007 01:32 pm, Deephay wrote:
> Greetings all,
>
> I made a very stupid mistake two hours ago, I bought a new USB storage
> disk and I was trying to test the speed:
>
> dd if=/dev/zero of=/dev/sda1
>
> sadly I typed "sdb1" as "sda1" and that was the /boot partition, I
> realized it immediately, but it was too late. I then reinstall grub as
> well as kernel-images, then I did:
>
> grub-install --recheck /dev/sda
>
> and message said: "/dev/scsi/host1/bus0/target0/lun0/disc does not
> have any corresponding BIOS device. I then reboot the machine, grub
> appears:
>
> GRUB Loading stage1.5.
> GRUB loading, please wait...
> Error 15
>
> I then copied all the files from /usr/lib/grub/ to /boot/grub/, the
> prompt "grub>" will appear instead of boot into system.
> I burned a debian install cd1 and boot into rescue mode, after mount
> and chroot into the root file system, grub-install will still give the
> same anwser.
>
> Any help is very very appreciated.
>
> Cannot Cheers Anymore,
> Deephay

Ummmmmmmm................

My daughter has this habit of saying "be careful" AFTER someone slips, trips, 
drops something, or just messes up in general.  I'm not going to act like my 
daughter.  (suffice it to say, that "be careful is now treated as a joke 
around here)

Have you tried formatting the partition?  You just wrote a series of "0"s 
across the partition...not as files, as raw data.  You wiped out the inode 
tables, superblocks, etc.

Mark



Reply to: