View unanswered posts | View active topics It is currently Thu May 23, 2013 7:47 pm



Reply to topic  [ 8 posts ] 
 Please report any SD boot success 
Author Message

Joined: Tue Jun 29, 2010 5:07 pm
Posts: 50
Post Please report any SD boot success
If you managed to boot on a mini SD card in the SD slot :

Could you report your success here with all the details and steps followed, thanks !

(my failures are here)


Tue Jul 20, 2010 8:16 pm
Profile

Joined: Tue Aug 24, 2010 10:01 pm
Posts: 6
Post Re: Please report any SD boot success
I got a new fit-PC2i the other day (don't know what version, but I assume it's recent) and now have it booting Fedora 13 from a micro-SDHC card in a mini-adapter in the slot. The card is an 8GB class-6 from Kingston. It works fine, but the filesystem is quite slow, as you'd expect.

To do this, I booted a Fedora 13 live-CD image from a USB stick, and then simply installed Fedora 13 onto the SD device. This made the SD card bootable just fine.

But, there was one other step to make the installed F13 come up: I had to add two modules to the initial ramdisk image: sdhci and sdhci_pci. Before I did that, the kernel would stop when it tried to mount the root filesystem, as it had not found the device for the SD reader. (Also make sure mmc_block and mmc_core are included, but that seems to happen automatically.)

The dracut command line would look something like this:

Code:
dracut -v -H --add-drivers "sdhci sdhci_pci" <img file> <kernel version>


Then make sure to add the drivers to your dracut.conf, so that they get included again for future kernels.

I didn't have to do anything special in the BIOS, aside from making sure the boot device order was appropriate.

I hope this info helps you!

-Matt

PS: Now I have to figure out why the ethernet ports keep disappearing on each reboot, unless I disconnect the power.


Wed Aug 25, 2010 12:35 pm
Profile

Joined: Tue Jun 29, 2010 5:07 pm
Posts: 50
Post Re: Please report any SD boot success
Thank you matt for this feedback.

I'm glad Fedora do allow direct SD installation (once SD card modules loaded).

I think Mandriva One has the correct modules loaded by default because it can read and write to SD without any config step. The point is that it doesn't allow installation on that kind of device, it is not seen as a classic disk.
Well, I'm still booting with USB key, and I'm on my way to make a small SSD with a compact flash card and sata adapter, so... I will no longer need to boot SD I think. Maybe for a rescue system.

What boot loader did you choose ? (please give maximum details)


Thu Aug 26, 2010 3:01 pm
Profile

Joined: Tue Aug 24, 2010 10:01 pm
Posts: 6
Post Re: Please report any SD boot success
Quote:
What boot loader did you choose ?

I used grub, which is the default standard boot loader with Fedora. Grub was installed on the MBR of the SD card, as you'd do with a normal disk. The Fedora installer gui simply showed the SD card as a normal disk device, called /dev/mmcblk0 . There were no special options that I had to specify on the kernel command line to get the boot to work (once I'd added the correct modules to the initial ramdisk image).

My root partition is /dev/mmcblk0p1 and a small swap fs is on /dev/mmcblk0p2 . The kernel version is 2.6.33.6 .

The root fs is ext4 now, but I might re-do the install with ext2 to avoid journaling on the flash card. Also, I'm considering making the whole thing read-only, and mounting /var via nfs on my main server, for logging and other transient data.


Thu Aug 26, 2010 3:57 pm
Profile

Joined: Tue Jun 29, 2010 5:07 pm
Posts: 50
Post Re: Please report any SD boot success
Thank you matt.
I tried a GRUB install also on the SD MBR, with the Mandriva graphical patched GRUB. It doesn't even reach stage1. :|
But as said before, I'll make my own 4GB sata SSD and it will solve my boot problem.


Fri Aug 27, 2010 7:50 am
Profile

Joined: Sun Mar 22, 2009 2:49 pm
Posts: 539
Location: Israel
Post Re: Please report any SD boot success
I wrote in your failure thread that I managed to install Super GRUB Disk on SD card and boot from it. I think if you do the same and then edit the GRUB menu file, you will be able to boot just about anything.


Fri Aug 27, 2010 12:17 pm
Profile WWW

Joined: Tue Jun 29, 2010 5:07 pm
Posts: 50
Post Re: Please report any SD boot success
Yes yogev_ezra I've seen your post a week ago.
(I prefered not to resort to the disk image trick and have a direct installation)


Fri Aug 27, 2010 12:37 pm
Profile

Joined: Tue Jun 29, 2010 5:07 pm
Posts: 50
Post Re: Please report any SD boot success
I'm back on trying to boot on mini SD card...

I hope I'll be back here with some good news...
(I also plan to update to the latest BIOS, just in case, but SD boot is already supported, according to the support here)


Wed Sep 14, 2011 12:45 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.