Iridos 2017-01-30 02:47:11
Is there a nice thing to create … topology craphs from scratch
Iridos 2017-01-30 02:51:01
uh, I need a label for each node
Aebian 2017-01-30 02:57:09
rdz: thanks for the link code worked. n1
_boreeas_ 2017-01-30 02:59:22
I'm having issues preparing a debian7 vm image from scratch. In particular, grub complains that it can't find the partitions. My current setup process is as follows: I use qemu-img to create an empty 6G raw file
_boreeas_ 2017-01-30 03:00:35
I then use parted to create a msdos partition table, with a 500MB ext3 partition for /boot and a 5.5G xfs partition for /. I then loopback mount the file with losetup, and call mkfs on those two partitions
_boreeas_ 2017-01-30 03:02:08
I then use kpartx to mount those partitions, and use losetup to bind /dev/loop0pX to /dev/loopX, and mount those to to some mount point (/tmp/something). I then bind-mount proc,sys and dev
_boreeas_ 2017-01-30 03:03:16
Then do debootstrap on that mountpoint, do some post-processing, then chroot into it, generate the fstab and grub's device.map by reading the partition UUIDs from blkid
petn-randall 2017-01-30 03:03:46
_boreeas_: Is there a reason you're using oldstable and not stable?
_boreeas_ 2017-01-30 03:04:31
I then try to generate a grub.cfg, and get errors like "/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/mapper/loop0p2. Check your device.map."
_boreeas_ 2017-01-30 03:05:35
petn-randall: Yeah, external requirements. We need to test software against several distros, including deb7 and deb8. We have a script that can generate deb8 vm images, but nothing for deb7
petn-randall 2017-01-30 03:06:11
_boreeas_: My approach to this was to just do a manual installation, and use virt-sysprep to prepare the "virgin" image.
_boreeas_ 2017-01-30 03:06:15
In particular, we use vmdebootstrap for deb8, but that fails for deb7 due to some issues with grub and/or xfsa
petn-randall 2017-01-30 03:06:41
_boreeas_: I don't know if that approach works for you, but it's pretty quick and let's you customize the image if you need to.
_boreeas_ 2017-01-30 03:07:01
petn-randall: You mean, just mount the installation iso and click through it?
petn-randall 2017-01-30 03:07:24
_boreeas_: Yeah, and when you have a finished installation, you can prepare clones from it via virt-sysprep.
_boreeas_ 2017-01-30 03:07:31
That was my preferred approach, too, but they wanted something that will still work automatically in a couple of years when I'm gone
_boreeas_ 2017-01-30 03:07:47
in case they lose the template img or something
petn-randall 2017-01-30 03:08:24
_boreeas_: I haven't worked with the other tools yet, so I can't give you first hand advice on those, sorry.
bgardner 2017-01-30 03:21:02
I have a laptop that was installed with wired networking only, but now I'm switching to wireless. The card is a Broadcom and works since I installed wireless-tools and firmware-b43-installer, but the 'b43' module does not insmod on reboot. I can 'modprobe b43' and everything works, but putting 'b43' in /etc/modules did not work. Suggestions?
bgardner 2017-01-30 03:21:45
This is Debian 8.7, and the hardware is: 0c:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
unborn 2017-01-30 03:28:01
- man I hate taxman :)
Iridos 2017-01-30 03:43:42
bgardner, you can load it manually and network and everything works?
bgardner 2017-01-30 03:44:00
Iridos: Yes, this box I'm on now is the one with this issue.