I'm pretty new to this whole deal. I have an Odroid C1. I recently created a home-server from an old i386 machine I had lying around. I'm starting to get into CLI OS and working with machines as servers, rather than as consoles.
I've had Hardkernel's (The Creators of the Odroid C1) custom Ubuntu image flashed onto my Odroid for a very, very long time. I think now it's time to make the switch over to Debian Jessie, like I did on my home-server. This seems a little more difficult than popping in a USB stick.
Some things I've learned...
The Odroid's architecture is ARMv7. If what I have understood what I have been reading, this architecture supports hard floating point, which is the superior option. So, I should download the
ARMHF
image from Debian.The Odroid cannot be reconfigured to boot from anything other than the SD card. I found the
Net Install
images and decided to go that route.- To boot from the image from the SD card I needed to install a boot-loader, like
GRUB
.
Knowing those things I decided to (SD Card is 32 GB)...
Reformat the SD card to one 1GB partition and a second 31GB partition, both FAT32.
Install GRUB to the MBR.
Connect the Odroid to the network through Ethernet, let GRUB boot the Network Install Debian Image.
Install Debian to the 31GB Partition.
Move the GRUB configuration file to the 31GB Partition.
Delete the 1GB partition, and add the unallocated space to the 32GB partition.
Forgive me if I'm misunderstanding something here, but to me it seems like this is saying not to do exactly that.
In 4.3.1 it says.
The image must be written to the whole-disk device and not a partition, e.g. /dev/sdb and not /dev/sdb1. Do not use tools like unetbootin which alter the image.
I read a little further down and the article, and it looked like there was an explanation for how to do what I wanted to do in section 4.3.3.0 to 4.3.3.2. However, I quickly became lost in what was going on.
To the best of my understanding, this is the suggested process...
Run
install-mbr /dev/sdX
on the SD card on my other Debian system. (Q1)Run
mkdosfs /dev/sdX1
on the SD card on my other Debian system. (Q2)Install the SysLinux Bootloader with
syslinux /dev/sdX1
to the new Fat16 Filesystem we created in step #2.
The section continues but I'm completely lost, and Google doesn't seem to be yielding any fruit.
Q1) What exactly is this command doing? It can't be installing the SysLinux MBR because we do that in step #3. I thought that the MBR was always the first 512 Bytes of a drive. What is this command doing if it's not installing the SysLinux MBR, and it's not creating an MBR, since the first 512 Bytes are ALWAYS the MBR regardless of anything else.
Q2) Here, if I understand correctly, we're creating a Fat16 partition on the disk. This doesn't help my original situation, because now there's no separate partition to install to!
Am I going about this the correct way? Is there a fundamental misunderstanding on my part that is causing me to not understand this process? What is a simplified and well-explained list of tasks that will help me understand this process, as opposed the the official Debian documentation which I cannot understand?