LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-07-2010, 07:31 AM   #1
sols2008
LQ Newbie
 
Registered: Jul 2010
Posts: 4

Rep: Reputation: 0
Question How to make USB Flash drive bootable in Centos


I have a USB drive of 4 GB and I want to make the drive as bootable. I used the command /sbin/mkbootdisk --device /dev/sdb1 "kernal version" ( sdb1 is my pen drive).When i ran this cmd,it gave me an error saying not enough space to write. Could somebody help me out??
 
Old 09-08-2010, 04:17 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by sols2008 View Post
I have a USB drive of 4 GB and I want to make the drive as bootable. I used the command /sbin/mkbootdisk --device /dev/sdb1 "kernal version" ( sdb1 is my pen drive).When i ran this cmd,it gave me an error saying not enough space to write. Could somebody help me out??

Code:
mkbootdisk - creates a stand-alone boot floppy for the running system
look below to create bootable flash drive

Linux Create A Bootable USB Pen

HTH
 
Old 09-09-2010, 10:25 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681
You could also simply install a system as normal (such as from a cd install disk) installing the system (including grub) to the pendrive. You wouldn't need to use fat32. Ext2 may be best for a pendrive. Adjust your /etc/fstab on the pendrive so that the noatime option is used.

Last edited by jschiwal; 09-09-2010 at 10:26 AM.
 
Old 09-09-2010, 01:48 PM   #4
Felicia1326
LQ Newbie
 
Registered: Jul 2010
Posts: 8
Blog Entries: 1

Rep: Reputation: 0
Also, I was a Dell CSE and if other hardware is like Dell there is a setting in the BIOS that you have to change to make the USB available as a boot device...
 
  


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
Bootable USB Flash Drive saurabhchokshi Linux - Newbie 1 07-15-2009 08:42 PM
Can't make bootable USB flash drive sheine Linux - Software 12 04-30-2009 04:32 PM
may install from cdrom to USB FLASH DRIVE(to get it a USB stick bootable) the ubuntu lse123 Linux - Newbie 5 01-02-2009 05:56 PM
how do you make a bootable flash drive for Vista install? hedpe General 3 04-08-2007 04:28 PM
Make a bootable Flash drive with Sandisk loninappleton Linux - Hardware 2 02-06-2006 04:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:06 PM.

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
Open Source Consulting | Domain Registration