Re: simple boot question

From: siliconmike (siliconmike_at_yahoo.com)
Date: 08/17/05


Date: 17 Aug 2005 06:19:28 -0700


pachl wrote:
> siliconmike
> > Freebsd was installed on a disk on controller 0.
> >
> > But now the disk is on controller 1.
> >
> > Will it boot properly now if I choose controller 1 as the first boot
> > device in the bios ?
>
> Why don't you try it? You'll get your answer very quickly that way.

Its on remote host at hosting company who takes 72 hours to solve any
problem or request. So in case I run into problems trying to do this I
lose a week..ouch..

> I think I can tell you how this will go down. The BIOS will find the
> disk's MBR (if your bios can boot the second controlloer) and the boot
> sequence will begin. The kernel will probably load, but when it comes
> time to mounting the file systems, you'll have problems if you have not
> modified the fstab. The fstab will still be looking for partitions on
> the first disk on the first controller (ad0, while you disk will be
> named ad2 by FBSD). At this point, the mounting of / will fail, but you
> will be given the chance to manually specify /'s location.
>
> This is assuming you you are using the GENERIC kernel. I believe there
> is a kernel option that deals with disk naming. GENERIC will name disks
> according to position on the controller/bus. I beleive the alternative
> (can't remember option's name) will assign names, ad[0-3], to disks as
> they are discovered.

So you suggest, modifying the fstab successfully will solve the problem
? Are there other considerations ?



Relevant Pages

  • Re: Software RAID-5 attempt to access beyond end of device...
    ... The reiserfs is on top of an lvm2 on top of a raid5 ... >information that has previously been stored on disk. ... Sep 7 20:32:04 cu kernel: Buffer I/O error on device dm-0, ... PCI: PCI BIOS revision 2.10 entry at 0xf1150, ...
    (Linux-Kernel)
  • Re: Spontaneous reboots
    ... yet I keep experiencing spontaneous reboots and crashes. ... > I have postfix handling mail and use cyrus-imap with virtual ... Page fault while in kernel mode ... > Disk errors: ...
    (freebsd-questions)
  • athlon-xp + fakeraid regression
    ... The build completes fine, the kernel boots fine, the machine will seem to be fine as long as it remains quiescent. ... At the beginning, just after hitting enter on the make command, one of the ad4 disk light goes on solid for several seconds. ... There is a well known thing where these cheap pata fakeraid cards will try to do ata133 if the drive says it can, when really, even if he drives are new ata133 drives and the cables are new and short and shielded, you still shouldn't try to do ata133 since the spec is too tight and you'll just get bit errors or other failures. ... The fix is use ata100 somehow, either by disabling dma entirely in loader.conf (since you have no more selective option there, and the raid card bios never has an option for controlling pio/dma mode like motherboard bios's have) and then use atacontrol in rc.early to set udma5, or by using disks that can only do ata100 and only advertise ata100 to the controller. ...
    (freebsd-current)
  • Re: F8 k3b problem or just random glitch?
    ... I must have been thinking of the last dvd I burnt. ... led went out the last time and a what do we do with this new disk requester had ... but to me a file manager is a 2 pane operation ala mc. ... All this BTW with kernel 2.6.26-rc6 doing the chores. ...
    (Fedora)
  • Re: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
    ... Sep 28 04:32:41 locker current size: 625140335 sectors ... Reboot and the disk was missing, ... I've changed hardware and kernel in a non controled manner, ... 32bit SMP kernel ...
    (Linux-Kernel)