LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-17-2011, 01:21 PM   #1
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 785
Blog Entries: 2

Rep: Reputation: 75
How to check if a SD card is bootable with extlinux


hello,
I installed different linux distros on a SD card (for travelling).
How can I check if this SD card will be bootable? (my old PC dont boot via SD/USB, so I cannot verify is everything is correctly installed and cannot verify if the SD card on an USB adapter would run). I am travelling next sunday from Germany to Ireland and will have access to PCs which are bootable via USB; I would like to test it till Sunday).
Regards,
floppy

PS: my ASUS with Ubuntu is at the repair-shop
 
Old 06-17-2011, 01:40 PM   #2
alfredo10
Member
 
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

Rep: Reputation: 15
Hi!
You must set a boot flag, e.g. with GParted.
But many computers don't "allow" booting from SDCard - it could be a big problem.
alfredo
 
Old 06-17-2011, 02:52 PM   #3
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 785
Blog Entries: 2

Original Poster
Rep: Reputation: 75
boot flag is there.
lba flag must be there?
 
Old 06-17-2011, 02:56 PM   #4
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 785
Blog Entries: 2

Original Poster
Rep: Reputation: 75
I copied the whole content of my CF FAT32 card on the SD; CF has "boot, lba", the SD "boot)
 
Old 06-17-2011, 05:28 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 17,101

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
I'd dd the disk to an image and use qemu to boot it in order to test it's ability to boot or be bootable.

dd the disk not the partition. Then your hda would be the file created. That file should be an exact clone of the sd.

There remains some other issues related to the bios and the ability to boot to a sd card. SD cards can be connected more than a few ways to the host. Some almost impossible to get to boot if they are behind a pci to pci bridge.

Last edited by jefro; 06-17-2011 at 05:30 PM.
 
Old 06-18-2011, 03:31 AM   #6
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 785
Blog Entries: 2

Original Poster
Rep: Reputation: 75
Quote:
Originally Posted by jefro View Post
I'd dd the disk to an image and use qemu to boot it in order to test it's ability to boot or be bootable.

dd the disk not the partition. Then your hda would be the file created. That file should be an exact clone of the sd.

There remains some other issues related to the bios and the ability to boot to a sd card. SD cards can be connected more than a few ways to the host. Some almost impossible to get to boot if they are behind a pci to pci bridge.
"dd /mnt/sda1" ?
I cannot find any place where a "sda" is existing. The PC has hda1 & 2 & 3 (HDD), hdb1 (CF on IDE adapter), hdc (CDROM), hdd1 &3 (HDD) and sda1 (SD-HC 8GB on USB adapter).
 
Old 06-18-2011, 05:53 AM   #7
alfredo10
Member
 
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

Rep: Reputation: 15
Hi!
Transcend T3 is an alternative:
http://www.transcendusa.com/Products...No=0&ModNo=181
I have several of them (2 GB: PartedMagic, 4 GB Linux Distri live and 8 GB Mint persistent) - no problem.
E.g. amazon.de sells T3:
http://www.amazon.de/s/ref=nb_sb_nos...d+T3&x=12&y=10
alfredo
 
Old 06-18-2011, 10:52 AM   #8
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 785
Blog Entries: 2

Original Poster
Rep: Reputation: 75
This is what I have: a transcend but 8GB instead of 16GB as per amazon link.
 
Old 06-18-2011, 11:58 AM   #9
alfredo10
Member
 
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

Rep: Reputation: 15
Hi!
The chance that a computer is able to boot from USB is higher than boot from SDCard; I always have the T3/ persistent in my wallet.
alfredo
 
Old 06-18-2011, 03:37 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 17,101

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
NO NO.

You use the command dd

You use the proper options for your situation. Usually dd if (put something here) of (put something here)

Example

dd if=/dev/sdb of=/image.img

You have to put your stuff in place of sdb and the name for image. Use mount command for usb name.

Last edited by jefro; 06-18-2011 at 03:39 PM.
 
Old 10-05-2011, 05:06 PM   #11
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 785
Blog Entries: 2

Original Poster
Rep: Reputation: 75
Hello there,
I would like to close this old thread with my last try.

A SD card has to be checked if it is bootable? (after installation of extlinux and different distros on it)

No problem:
- find a SD card adapter to USB
- go to your old PC; your PC has no bootable USB?

No problem, install plop on it.. see http://www.plop.at/en/bootmanager.html and choose the plpbt.bin for the PC with PCMIA cards (like mine).

Then now:
- boot your pc
- choose the grub menu "plop bootloader" (I made before)
- choose the USB boot of plop after it detected you putted your SD card on the USB adapter in the PCMIA card (USB 2.0)
- then it boots.. in the extlinux menu of the bootloader of the SD card (with tinycorelinux, knoppix, slitaz, partegmagic, puppylinux, HWtest, memtest. warrylinux..)
- then choose tinycorelinux
- then open firefox.. and write here.

So, my old machine, year 1997, without USB boot section in the BIOS, is booting from an SD card on an USB-adapter.

I am happy.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
extlinux vs grub for USB problems with both, anyone wanna help? linus72 Linux - Newbie 1 09-06-2011 07:37 PM
LXer: Booting Linux With the New EXTLINUX LXer Syndicated Linux News 0 08-11-2010 05:41 AM
How to check whether a bootable DVD is damaged or not ? TheIndependentAquarius Linux - General 15 07-13-2010 09:27 AM
how to boot a custom kernel with extlinux on USB drive? krmane Linux - Software 2 07-16-2006 04:02 AM
extlinux to boot ext2 USB flash Weavind Linux - Software 1 04-06-2006 05:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration