[SOLVED] Problems with booting from SD card

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Post Reply
FireFly
Ronin
Ronin
Posts: 2
Joined: 29 Jan 2012, 16:12
Location: Germany

[SOLVED] Problems with booting from SD card

Post#1 by FireFly » 29 Jan 2012, 17:17

Hi,

booting from USB works fine, but Porteus 1.1 will not boot from a SD card.

It stops here:

Code: Select all

Starting optimized linuxrc inspired by <http://www.linux-live.org/>
^ searching for porteus-v1.1-i486.sgn file
^ device not ready yet? delaying [2x 6sec] seconds

Porteus data not found.
[…]
It works for other distros like Puppy or Slax.
Last edited by FireFly on 10 Feb 2012, 10:27, edited 1 time in total.

User avatar
Hamza
Warlord
Warlord
Posts: 1846
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Problems with booting from SD card

Post#2 by Hamza » 29 Jan 2012, 17:22

Welcome :)

It looks like the device which it supposed to be the "boot device" is not supported by the current kernel configuration of Porteus.

Please follow this F.A.Q Answer and tell us more about your configuration.
NjVFQzY2Rg==

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: Problems with booting from SD card

Post#3 by Ahau » 30 Jan 2012, 16:02

Please let us know the cheatcodes you're using to boot the sd card and, are they the same as what you're using for your usb device? -- they likely don't need to be the same, but comparing the two might help us here. I can't tell you how many times I've seen this error message due to something I've managed to mess up in my cheatcodes ;)

Also, after your boot fails, you should have a command line available (provided by the kernel and initrd, which have been loaded at this point). Please see if you can access your device at that point:

Code: Select all

cd /mnt/
ls
cd sdXY #replace with your device and partition number
ls
And if the data is there, then you should be able to get this to boot with some modifications to your cheatcodes. If there is no data there, then try to make a directory and mount it there:

Code: Select all

cd /mnt/
ls  #nothing shows
mkdir sdXY #again, replace with your device and partition number -- I'm guessing you know what they ought to be for this device
mount /dev/sdXY /mnt/sdXY
cd sdxY
ls
If that fails to mount, let us know, and what error you get. My guess would be that there is a kernel driver that your hardware needs to mount your card reader and it is not included in the default initrd.xz. In this case, please boot this machine from your USB device, insert your sd card and mount it (or wait for it to automount), and run 'lspci -k' in a terminal to find out what kernel modules are used with this device. Report back here with the output, and then we can work on remastering your initrd to include this module. Maybe this is one that puppy and slax include by default but we've dropped for some reason in Porteus.

Thanks!
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
brokenman
Site Admin
Site Admin
Posts: 5436
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Problems with booting from SD card

Post#4 by brokenman » 30 Jan 2012, 20:56

Can we get some hardware specs please?

Probably a ricoh sd reader built into a laptop.
How do i become super user?
Wear your underpants on the outside and put on a cape.

FireFly
Ronin
Ronin
Posts: 2
Joined: 29 Jan 2012, 16:12
Location: Germany

Re: Problems with booting from SD card

Post#5 by FireFly » 31 Jan 2012, 09:37

Thanks for all the replies.

I have a HP mini 210, the card reader is the build-in "Realtek USB 2.0 Card Reader"

I boot the SD card with the same options as the USB device, which are nearly the standard (I just added the path to my save.dat)

lspci -k after automount of SD card (/dev/uba1 got mounted on /media/SDCARD)
http://pastebin.com/Skipxw1r

Porteus System Info (psinfo.txt)
http://pastebin.com/zjhvUXTf

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Problems with booting from SD card

Post#6 by fanthom » 31 Jan 2012, 15:42

hello FireFly,

'ums-realtek' was compiled as a module in 32bit edition and that's the reason of the failure. during the weekend i'll be upgrading kernel for both archs so i will make sure it's compiled directly into kernel.
please wait for an update.

btw; if you are impatient you can add the driver manually to initrd (and add 'modprobe ums-realtek' at the begining of linuxrc script). should work then.

Cheers
Please add [Solved] to your thread title if the solution was found.

Post Reply