Re: FreeBSD Bootable Question



"Giorgos Keramidas" <keramida@xxxxxxxxxxxxxxx> wrote in message
news:863bkckix1.fsf@xxxxxxxxxxx
> "Michael Nguyen" <michaeln@xxxxxxxxxxxxx> wrote:

[snip]

>> What would be the process in FreeBSD?
>
> Relatively similar:
>
> - Partition the new drive with fdisk or sysinstall
> - Label the BIOS partitions with disklabel/bsdlabel
> - Mount the new partitions under /mnt, /mnt/var, /mnt/usr, etc.
> - Untar the files under /mnt
> - Run boot0cfg on the drive to install the boot0 loader
> - Make sure /mnt/etc/fstab is ok
> - Plug the drive into the server
> - Boot

[snip]

Ok, this hasn't gone as well as I had hoped. I'm not sure why it won't boot
but I'm wondering if I'm going about this the wrong way altogether.

So here's the story. I have this load balancer that runs FreeBSD. The
drive failed such that I get input/output errors on the thing and it won't
boot. The drive is in a somewhat working condition, however. I can look at
the partition table and I can read and mount /usr, /var, and /tmp. The root
partition won't mount or can't be read. Now, I have another load balancer
that's similar and live. I can take a dd of the root partition on the new
load balancer and it should work. What's the best way to reconstruct the
old drive assuming that the / partition of the working load balancer would
serve just fine as the root partition of the broken one?


Michael


.



Relevant Pages

  • FreeBSD trashed after installing Win98SE in lower partition - what to do?
    ... After running the FreeBSD system for nearly a year, and loving it, ... Win98SE install, and my FreeBSD partition is now unbootable. ... Fail in installing FreeBSD 5.2.1 in the placeholder Windows ...
    (freebsd-questions)
  • Re: Moving existing FreeBSD system to a new harddisk...
    ... I have FreeBSD 6.2 installed on a Dell Latitude D400 laptop. ... from the old to the new hard disk. ... occupies the first slice (called primary partition) of each disk. ...
    (freebsd-questions)
  • Re: Solved [Re: delete first partition XP and reformat as ufs -> kernel not found]
    ... See the section 8 man page for boot. ... Does anybody has a clue why the FreeBSD ... > MBR PT: ... renumbered its MBR partition. ...
    (freebsd-questions)
  • Re: Quality of FreeBSD
    ... > I dual boot between XP and FreeBSD and even use VMWare to boot FreeBSD ... I can then mount a partition from the drive: ... problems caused by wiggling the apparently very sensitive cable ...
    (freebsd-stable)
  • Re: Help with lost MBR on USB HDD
    ... I have a dual boot system going with WinXP and FreeBSD on my laptop. ... Just before I installed FreeBSD I bought a USB HDD to plug in so I could ... I decided I needed a native UFS2 slice instead of a FAT32 one and set to ... from existing in the logical partition to ...
    (freebsd-questions)