EFW Support

Support => Installation Support => Topic started by: deadmalc on Monday 07 June 2010, 03:13:14 am



Title: virtio disk installation
Post by: deadmalc on Monday 07 June 2010, 03:13:14 am
I'm trying to fudge an install of endian firewall 2.4 on virtio discs, I've got the installer to recognise the discs:

At startup of installer (Language Selection)
Switch to Screen 3 (Ctrl-Alt-F3)

modprobe virtio_blk
mdev -s

This should create the /dev/vdX devices

Switch back to the installer (Ctrl-Alt-F3)

But then I get error "Unable to partition the disk."

I can't see why, it sees the disks fine.
I'm going to try fudging another method during the installer, if I can copy the virtio modules into the /hardisc/lib/modules directory
at the point it asks for network configuration, and then run recreateinitrd.sh manually, then switch to virtio disks after the installation is complete.

Any other ideas on how to fudge this?


Title: Re: virtio disk installation
Post by: deadmalc on Monday 07 June 2010, 05:42:52 am
I have managed to get endian booting with a VIO disc,
 but I managed to screw up the /dev/local logical volumes somehow.
I'll try again tommorrow, but basically I waited until I got the network config line then:
altered /etc/fstab to /dev/vda1 /dev/vda2
edit recreateinitrd.sh and add --with virtio_pci --with virtio_blk to the mkinitrd line
edit /etc/modprobe.conf and replace the line with scsi_hostadapter with
alias scsi_hostadapter virtio_blk

Not forgeting to alter the grub line to root=/dev/vda2 (as the UUID's seem to get all screwed up)

Seem to  be getting there...albeit slowly


Title: Re: virtio disk installation
Post by: deadmalc on Tuesday 08 June 2010, 08:52:55 pm
 ;D Seems I've managed to get endian 2.4 running using virtio disks and network cards.
Was a less than ideal way, after installation using the virtio disk it seems for some reason the lvm volumes vanished.
So my solution was to take backups of the various /var filesystems, and recreate them using fdisk (no lvms).
Seems to work OK, less than ideal - but it's not like anyone would do this in a production environment is it  ::)

At least it is possible!