LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-17-2012, 03:06 PM   #1
sanjeev taran
LQ Newbie
 
Registered: Dec 2005
Posts: 11

Rep: Reputation: 0
Question Bootable USB Live using Syslinux bootloader


I am trying to create a bootable usb stick using syslinux. I downloaded the Centos distribution (aka CD.iso). I successfully created a bootable usb stick (fat 32 partition) using syslinux but on boot I get an error that the root filesystem cannot be located and it jumps to the shell.

My syslinux.cfg in the ./syslinux folder looks like this:

label linux0
menu label Boot
kernel /syslinux/vmlinuz0
append initrd=/syslinux/initrd0.img root=/dev/sdb1 rootfstype=vfat rw liveimg

My usb stick has the mbr loaded and ldlinux.sys file.

vmlinuz0 and initrd0.img are in the syslinux folder and squashfs.img and osmin.img are in the root folder of my USB stick.

Very frustrating that I cannot make this work.Please advise if I am missing anything. Thanks in advance for your help.
-Sanjeev
 
Old 12-19-2012, 02:15 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,614

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
Quote:
I get an error that the root filesystem cannot be located and it jumps to the shell.
What distro are you trying to boot into? and what boot loader it uses?

It appears that you have only created a bootable usb-pen and when it boots it finds no boot loader serving to no-kernel: nein, kein, null.

1. To make a usb-pen (or a cd or any medium) bootable with syslinux is one thing;
2. To use one boot loader from another is another;
3. To make the boot loader point to an installed kernel (operating system, as whole) is another thing too.

As the post is wanting these data hardly can anyone say more to help you. Be sure first, that the pendrive has an installed distro, Centro, Debian, Slackware, whatever, and has anointed a boot loader to serve it.

Hope this helps.

Good luck.
 
  


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
How to create bootable USB for OpenSUSE Live KDE(or Live Gnome)? glock356 SUSE / openSUSE 1 06-14-2012 07:20 AM
cant edit syslinux.cfg in live USB Fcukinyahoo Linux - Newbie 1 11-16-2011 09:51 PM
Syslinux bootloader neverminder Linux - General 1 08-23-2011 05:09 AM
Syslinux Bootloader chainloaded to GRUB4DOS? help needed for Ultimate bootable USB areic4010 Linux - Software 4 07-17-2010 02:59 PM
Using syslinux to create a Slackware USB-Live disk? khronosschoty Slackware 2 04-05-2010 08:51 PM


All times are GMT -5. The time now is 08:30 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