Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub-install not installing to SD card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6316
Location: /usr/lib64/lv2

PostPosted: Sun Aug 12, 2012 2:20 am    Post subject: grub-install not installing to SD card Reply with quote

I'm trying to install Gentoo on an SD card from a stage4 tarball I created. What's holding me up is grub-install gives me:

Code:

Bartok / # grub-install --no-floppy /dev/mmcblk0
/dev/mmcblk0 does not have any corresponding BIOS drive.


The card reader is not on a USB bus, so unetbootin will not help me (unless you know a way around the card reader being on a PCI bus instead of a USB bus).

What do I need to fix?

EDIT:

My laptop DOES have boot from SD card in the BIOS, so once I get the SD card configured, that should not be a problem.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43559
Location: 56N 3W

PostPosted: Sun Aug 12, 2012 9:05 pm    Post subject: Reply with quote

audiodef,

You need to make a device.map and tell grub to use that instaed of asking the BIOS about devices.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6316
Location: /usr/lib64/lv2

PostPosted: Mon Aug 13, 2012 1:20 pm    Post subject: Reply with quote

Thanks, Neddy. :)

The trouble now is that I can't even chroot to this card even though I successfully did a couple of times. Now I get an input/error and /bin/bash not found when trying to chroot to the card.

There doesn't seem to be anything wrong with the card. It's only after I've unpacked the stage3 and portage-latest that this happens, as well as "read-only file system" errors. After freshly partitioning and formatting the card, fsck detects no errors. After unpacking portage-latest, there are multiply-claimed block errors. Again, none of this happened the first couple of times I experimented with installing Gentoo on the card.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43559
Location: 56N 3W

PostPosted: Mon Aug 13, 2012 7:05 pm    Post subject: Reply with quote

audiodef,

I feel your pain. I've been doing something similar with a Raspberry Pi and getting the same input/errors, multiply-claimed block errors and so on.
I started using a 32G Class 10 SDHC card I happened to have spare, or at least, easy to free up. After threee or four goes trashing the filesystem, I switched to a 4G Class 4 SDHC card, which seems OK.

On the Pi, I suspect the PSU isn't really up to the 32G card but I may have killed the card as emerged a few small packages there. (No, not libreoffice).

Try another SD card
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6316
Location: /usr/lib64/lv2

PostPosted: Tue Aug 14, 2012 1:29 pm    Post subject: Reply with quote

Funny, I got this card because I just ordered a Pi and I wanted to boot Gentoo on it (with the goal of creating a Gentoo Studio for Pi).

I have a friend who successfully uses a 32GB card on his Pi, so when mine arrives, I'll try this card, which I've already configured for booting Gentoo on a Pi. But yeah, trying another card for booting Gentoo on my laptop might be a good idea. Maybe a 16GB card.

Maybe in a few months, 32GB or larger cards will work a little better.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum