Welcome, Guest. Please login or register.
Did you miss your activation email?
Friday 01 November 2024, 07:26:29 am

Login with username, password and session length

CLICK HERE for the The official Endian Roadmap and Issue tracker
14248 Posts in 4376 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  Installation Support
| | |-+  virtio disk installation
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: virtio disk installation  (Read 13985 times)
deadmalc
Full Member
***
Offline Offline

Posts: 36


« 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?
Logged
deadmalc
Full Member
***
Offline Offline

Posts: 36


« Reply #1 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
Logged
deadmalc
Full Member
***
Offline Offline

Posts: 36


« Reply #2 on: Tuesday 08 June 2010, 08:52:55 pm »

 Grin 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  Roll Eyes

At least it is possible!
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.047 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com