Subject: Re: mbr problems
To: None <port-cobalt@netbsd.org>
From: Janko Knops <polthemol@home.nl>
List: port-cobalt
Date: 03/13/2005 12:29:46
----- Original Message ----- 
From: "Justin Newcomer" <liquidice5@gmail.com>
To: <port-cobalt@netbsd.org>
Sent: Sunday, March 13, 2005 1:22 AM
Subject: mbr problems


> So today has been a terrible day for me with the 2.0 restore CD
> the cd worked perfectly
> the only thing i had to do was:
>
>    /dev/MAKEDEV panel
>   rm /dev/lcd
>   ln -s /dev/panel0 /dev/lcd
>
> just because i wanted to be able to echo stuff to the lcd, or use
> paneld if i felt like it
>
> then i had an issue when installing bash and setting it to root's shell
> a boot to single user mode fixed that
>
> now
> after hours of copiling, i have found that some time during my playing
> with the lcd panel
> i accidently said
> echo "something" > /dev/hda
> instead of
> echo "something" > /dev/lcd
>
> i knew i had screwed up at that time, but i knew that from within
> netBSD, the devices are normally refered to as "wd0" or their
> driver/what have you name, so i continued on
>
> now i have brought my qube home from work,
> and i get this
> Cobalt Microserver Diagnostics - 'We serve it, you surf it'
> Built Wed Mar  3 21:26:25 PST 1999
>
> 1.LCD Test................................PASS
> 2.Controller Test.........................PASS
> 5.Bank 0:.................................64M
> 6.Bank 1:.................................0M
> 7.Bank 2:.................................64M
> 8.Bank 3:.................................0M
> 9.Serial Test.............................PASS
> 10.PCI Expansion Slot....................**EMPTY**
> 12.IDE Test................................PASS
> 13.Ethernet Test.........................**FAIL**
> 16.RTC Test................................PASS
> BOOTLOADER: trying to boot from partition /dev/hda1
> Decompressing  done
> Jump_to_Real_Kernel: disk error, trying BFD again
> BOOTLOADER DEBUG: flashdelaying...
> BOOTLOADER: trying to boot from partition /dev/hdc1
> Decompressing  done
> Jump_to_Real_Kernel: disk error, trying BFD again
> BOOTLOADER DEBUG: flashdelaying...
> get_root_dev: nr_boot_failures 0x00000002 exceeds maxtries 0x00000002 for 
> boot_i
> ndex 0x00000000
>
>
> *** halting ***
>
> Is there any way to fix the mbr? (i am guessing this is the problem)
> getting it into another machine is no problem, but I dont know if it
> has some sort of special mbr, or what I should do
>
> If it comes down to it, i can always run the restore CD again, but I
> would really like to not have to
>
> Alex, Great disk
>
> -justin
>

I don't know if there are netbsd tools for it ( am still rather new to it), 
but if you would put it in another pc and use Hirens Bootdisk, it has some 
tools on it to fix fubar mbrs (and worked a few times very nice for me on 
unix-systems).

Hopefully this info is helpfull to you

Cheers,

Janko Knops