trying to correct install error

trying to correct install error

Post by hegemo » Sat, 25 Nov 2000 04:00:00



hello

i did a fast install last week of openbsd 2.8 on intel machine.
But i did an mistake and i have 2 / partitions.
Only one has the kernel image and this is not the partition the boot try
to read first.
so each time i reboot the machine i have to do the followings command :

Quote:>set device hd0b
>boot bsd

Is there a elegant way to make the boot mechanism to directly read hd0b
instead of hd0a    ?

please avoid to reply i have to reinstall it thx. :)

devstderr

 
 
 

trying to correct install error

Post by Johnny Ki » Sun, 26 Nov 2000 06:38:39



> hello

> i did a fast install last week of openbsd 2.8 on intel machine.
> But i did an mistake and i have 2 / partitions.
> Only one has the kernel image and this is not the partition the boot try
> to read first.
> so each time i reboot the machine i have to do the followings command :
> >set device hd0b
> >boot bsd

> Is there a elegant way to make the boot mechanism to directly read hd0b
> instead of hd0a    ?

> please avoid to reply i have to reinstall it thx. :)

> devstderr

Just reinstall it.  Just kidding (hee hee).

I've never done this before so take it for what it's worth.  Boot into
single mode or from the boot floppy and exit into a shell.  Run fdisk
and set the partition you want as bootable.  Make sure you write the
changes and try rebooting.  The changes should be written to your MBR.

I hope this helps and bon chance.

--

To reply, please remove {AMG!}.  Thank you.

 
 
 

1. trying to install MS-DOS boot partition causes LILO error

I installed a replacement for my IDE master drive tonight.  It is
partitioned into two Linux ext2fs partitions, one Linux swap
partition, and a small DOS partition.  LILO is perfectly happy to
install my Linux kernel and a backup into its boot table, but
when I try to add the DOS partition as an "other" entry in
lilo.conf and run LILO, I get these errors:

Boot other: /dev/hda4, loader /boot/chain.b
Device 0x0304: BIOS drive 0x80, 16 heads, 967 cylinders,
               31 sectors. Partition offset: 410688 sectors.
Device 0x0300: BIOS drive 0x80, 16 heads, 967 cylinders,
               31 sectors. Partition offset: 0 sectors.
Device 0x0300: Invalid partition table, 1st entry
  3D address:     1/1/0 (31)
  Linear address: 2/0/0 (1)

Linux seems to be perfectly happy; if I take out the "other"
entry in lilo.conf and just use LILO to boot Linux, everything
works.

All I can guess is that I made some error in partitioning or
setting up the DOS partition.  The DOS partition is quite usable;
I can boot DOS from a floppy and installed DOOM and DOOM II on
the drive with no trouble.  Perhaps this is Linux's way of saying
how much it hates MS-DOS :-)

2. hdparm & hard drive identification

3. I get this error when I try to install RH6.2

4. gethostbyname causes core dump

5. Not enough memory error trying to install RH 7.3 on Compaq Proliant 1500

6. windex/catman problem

7. Trying to figure out the correct Ethernet card

8. doscmd & vga (raw mode)

9. Make error when trying to install expect with Slackware Linux

10. Trying to Install InfoMagic v3.0 on micron laptop and micron server - pci error on both???

11. HDIO_REQ not supported error, trying to install LILO

12. Trying to install RedHat Linux 5.2, I/O errors!!!

13. Not enough memory error trying to install RH 7.3 on Compaq Proliant 1500