View source for Minnowboard talk:Debian Bare Minimum Bootstrapping
|Thread title||Replies||Last modified|
|Ubuntu on Minnowboard||0||11:39, 13 September 2014|
|Corrections/Defects||0||09:26, 9 August 2014|
You do not have permission to edit this page, for the following reasons:
- The action you have requested is limited to users in the group: Users.
- You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.
You can view and copy the source of this page.
Thanks a lot for this, *nearly* got me working but there are some errors.
1. The vmlinuz and initrd.img files referenced in grub are given as /boot/vmlinuz etc. The file in /boot has a full name with the version so its not found by grub (there is a link in root which is just vmlinuz). I fixed this by using the full name (/boot/vmlinuz-xxxx) in the grub file, I guess you could just point to root too.
2. I couldn't run update-initramfs as specified, I had to do the following first before chroot, to bring in some other dependencies.
sudo mount --bind /dev /mnt/debian/dev sudo mount --bind /proc /mnt/debian/proc sudo mount --bind /sys /mnt/debian/sys
3. The comment "make sure that you change the 'root=/dev/sda2' line to 'root=/dev/mmcblkp2'" should actually say /dev/mmcblk0p2
4. Even after I built the new initramfs after adding mmc, I'm not sure this is needed. When it boots on the Minnow modprobe says it can't find mmc, but it boots off the sdcard anyway
Lastly, I had to exit chroot to do the grub file changes towards the end of the process.