[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: installing with root on ZFS (was: So, who's in charge of Kfreebsd? The installer is broken)



Redid install steps as follows (TL;DR Spoiler: Finally got to a login prompt with Super Grub disk!)

+ increased vm RAM from 548 to 720 MB

vHD: 12 GB SCSI @ 0,0,0 / da0 ( vdisk: Single file, Growable, no 2GB split )

---

Reproducable Install steps:

o Language/Locales: + add EN-US and EN-US-ISO-8859-15; set default locale UTF8

o Network DHCP, vm is using NAT 

o Debian mirror; Proxy: " http://192.168.110.1:3128/ " ( use vmnet8/NAT network )
# Use Squid on host; much better on bandwidth, especially when (re)doing multiple installs


o Flavor: Testing/Wheezy # For Great Justice(TM), and BSD9 kernel

o Download installer components: Lowmem

o Setup users and passwords: Allow root login, setup non-root user with Shadow passwords

o Clock: NTP, Central time

o Partition disks:

Guided - use entire disk: SCSI1 (da0)

All files in 1 partition:

da0 - 12.9 GB
#1 = primary 12.3 GB UFS " / "
#5 = logical 575.7 MB swap

o Install base system: kfreebsd-image-9-amd64

o Configure the package manager: Use non-free software: Yes
oo Services to use: Security updates

o Select and install software: Package usage survey: No; Setuid man: No

o Software selection: Install packages: File server, SSH server, Standard system utils # This will grab ~130 pkgs

o Install Grub to HD:

Install to MBR - immediate failure

Info from Alt+F4:
[[
os-prober: unknown udebs for minix-modules, hfs-modules, hfsplus-modules, qnx4-modules, btrfs-modules, fuse-modules,
  fs-core-modules, fs-secondary-modules

grub-installer: info: Installing grub on '/dev/da0'
grub-installer: info: Mounting /proc into /target
main-menu[107]: (process:32067): mount: mounting proc on /target/proc failed: No such device
main-menu[107]: WARNING **: Configuring 'grub-installer' failed with error code 255

---

--At this point I took a snapshot of the VM, and tried your suggestion:

# chroot /target /bin/bash
# update-grub2

Generating grub.cfg...
cat: /boot/grub/video.lst: No such file or directory
Found kernel of FreeBSD: /boot/kfreebsd-9.0-1-amd64.gz
Found kernel module directory: /lib/modules/9.0-1-amd64
grep: /proc/mounts: No such file or directory
done

---

--At this point I tried your 2nd suggestion:

# mount -t linprocfs linprocfs /proc
# update-grub2

Generating grub.cfg...
cat: /boot/grub/video.lst: No such file or directory
Found kernel of FreeBSD: /boot/kfreebsd-9.0-1-amd64.gz
Found kernel module directory: /lib/modules/9.0-1-amd64
done

---

o Logged out of chroot
o " Continue without boot loader "
o " Finish the installation "

--Rebooting the VM at this point causes 100% vmware CPU usage, and nothing usable in the VM - just a blank screen.

--However, at this point I booted the VM with Super Grub Disk Beta, and managed to get it to boot by using:
" Detect any grub2 configuration file (grub.cfg) " :)

http://www.supergrubdisk.org/
http://forja.cenatic.es/frs/download.php/1456/super_grub2_disk_hybrid_2.00s1-beta1.iso

--So, while the installer itself is still wonky, you did get me to a login prompt - for which I am extremely grateful. :D

--After logging in as root, I issued ' grub-install /dev/da0 ' and rebooted.  Grub came up OK without the SGD, and booted KFreeBSD OK! :D :D

--0D00D, U R TEH MAN!!!111ONE!

/ Epic Win

--Let me know if there's anything else I can do to help.

____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
Check it out at http://www.inbox.com/marineaquarium



Reply to: