netinstall
netinstall copied to clipboard
Debian installer - all disks not found
I'm trying to install debian on my beaglebone-black. I create a microSD card with:
./mk_mmc.sh --mmc /dev/sde --dtb am335x-boneblack --distro wheezy-armhf --firmware
The issue I have is that the internal 2GB 'disk' in the BBB is not found - so when I come to partition the disks I'm not given that as an option nor does it seem to be listed in /dev or /dev/disks/by-uuid. (I only get the 8GB microSD card listed as on option or existing in /dev)
Any thoughts? Or what stupid things am I doing!!
The internal eMMC is disabled by default for two reasons with the netinstall.
- The "debian-installer partitioner" dies a horrible death when scanning the eMMC and install completely locks up. (due to the default partition table setup)..
- If you were to dd the eMMC with /dev/zero, to bypass the partition issue, the netinstall isn't smart enough (yet) to correctly partition the eMMC behind the scenes such that it would be bootable.
So, you could "re-enable" the eMMC by commenting out: https://github.com/RobertCNelson/netinstall/blob/master/hwpack/am335x-boneblack.conf#L63 But issues 1&2 show above will still affect you.. btw: the 'eMMC override' is only used for the debian-installer phase: https://github.com/RobertCNelson/netinstall/blob/master/mk_mmc.sh#L437 Not the "final" boot script..
But since you end goal is just debian on the eMMC, I'd recommend:
- Run the install like normal on the microSD
- On first 'reboot' with debian on the microSD, dl and run this script:
wget https://raw.github.com/RobertCNelson/tools/master/scripts/beaglebone-black-copy-microSD-to-eMMC.sh chmod +x beaglebone-black-copy-microSD-to-eMMC.sh ./beaglebone-black-copy-microSD-to-eMMC.sh
- Remove power, remove microSD, re-apply power, watch debian boot off eMMC..
Regards,
(edit: obvious, remove power before microSD)
Thanks very much for your detailed reply. I shall try this shortly (unfortunately tomorrow at the earliest).
Sorry - it took much longer than I expected to find the time to do it. However, it worked great! Thanks.