Re: blkid for ufs partitions

2015-11-01 Thread Steven Chamberlain
Steven Chamberlain wrote: > /etc/apt/sources.list should perhaps use a more generic mirror The security suite is missing from there too. Regards, -- Steven Chamberlain ste...@pyro.eu.org signature.asc Description: Digital signature

Re: blkid for ufs partitions

2015-11-01 Thread Steven Chamberlain
Hi! Christoph Egger wrote: > I've just created a jessie-kfreebsd VM image (qemu)[1] [...] Nice work! It's a nice, minimal, mostly clean image with everything needed to install more. I wonder if I can put this on a USB stick and use it like a live/rescue system!? > ( [...] after a grub-install

Re: blkid for ufs partitions

2015-11-01 Thread Christoph Egger
Forgot to add the comandline: ./vmdebootstrap --grub --sparse --image jessie-kfreebsd-vm.raw --roottype ufs --distribution jessie-kfreebsd --no-acpi --kernel-package=kfreebsd-image-10-amd64 --mirror http://ftp.fau.de/debian/ --serial-console -- 9FED 5C6C E206 B70A 5857 70CA 9655 22B9 D49A E7

Re: blkid for ufs partitions

2015-11-01 Thread Christoph Egger
Hi! I've just created a jessie-kfreebsd VM image (qemu)[1] using a patched vmdebootstrap[0]. This seems to mostly work (but after a grub-install the ufsid of the root device seems changed (after reboot)). I'll try and see if I can fix that. Also if you can tell me what to not do wrong I can h

Re: blkid for ufs partitions

2015-11-01 Thread Christoph Egger
Hi! Christoph Egger writes: > As discussed, I'm trying to create a patchset for vmdebootsstrap[0] so > it works on kfreebsd. Currently things are mostly going well but I'm > struggling to find a proper replacement for the linux blkid/UUID > mechanism for the rootfs. /dev/ufsid/* does seem to be t

Re: blkid for ufs partitions

2015-11-01 Thread Christoph Egger
Hi! Steven Chamberlain writes: > Does sysctl kern.geom.confxml maybe give this info? Perhaps the ufsid > is listed as a child node of the geom device providing it. Thanks! This does indeed contain the right information Christoph -- 9FED 5C6C E206 B70A 5857 70CA 9655 22B9 D49A E731 Debian

Re: blkid for ufs partitions

2015-11-01 Thread Steven Chamberlain
Steven Chamberlain wrote: > If gpt disklabels are used, there is a persistent gptid for each > partition, too. Or if ZFS is used as root, the pool+fs name are > persistent already. p.s. I thought that ZFS on a /dev/md device might be a way to someday make a kfreebsd live system. It can be compre

Re: blkid for ufs partitions

2015-11-01 Thread Steven Chamberlain
Hi! Christoph Egger wrote: > I'm struggling to find a proper replacement for the linux blkid/UUID > mechanism for the rootfs. /dev/ufsid/* does seem to be the right place > but I can't find any utility to get the right id for my ufs partitions > (/dev/md0s$n). Any ideas? In the end I could hardcod

blkid for ufs partitions

2015-11-01 Thread Christoph Egger
Hi all! As discussed, I'm trying to create a patchset for vmdebootsstrap[0] so it works on kfreebsd. Currently things are mostly going well but I'm struggling to find a proper replacement for the linux blkid/UUID mechanism for the rootfs. /dev/ufsid/* does seem to be the right place but I can't fi