LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-06-2011, 01:15 AM   #1
shaze
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Rep: Reputation: 0
Booting server from USB Flash Disk


For various reasons, when I installed our server, I configured it so that it would boot off a USB flash disk. The flash disk mounts as /boot and / mounts on our RAID array.

It all works very well, but I would like to have backup so that if/when the flash disk goes, I can pop in another one.

I have tried to make copies of the flash disk (using both cp and dd), but it doesn't work. When the server starts its bootup sequence, instead of Linux loading, a cursor starts blinking endlessly.

If I put the original flash in, it works fine. If I put the copy in, it doesn't work.

I can't see any difference between the copy and the original. They seem to have the same content. If I do blkid both have the same label and UUID. The label is /boot, and /etc/fstab refers to this

We are running Scientific Linux 5.4.

Any ideas gratefully received.

Thanks,

Scott
 
Old 01-06-2011, 02:59 AM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 97
Quote:
using both cp and dd
how?
Quote:
a cursor starts blinking endlessly.
seems no mbr. use dd if=/dev/sda of=/dev/sdb bs=512 count=1
 
1 members found this post helpful.
Old 01-06-2011, 02:59 AM   #3
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 97
Quote:
using both cp and dd
how?
Quote:
a cursor starts blinking endlessly.
seems no mbr. use dd if=/dev/sda of=/dev/sdb bs=512 count=1
 
Old 01-06-2011, 06:21 AM   #4
shaze
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Many thanks --- that's solved it and saved me much trouble. I had done dd if=/dev/sda1 /dev/sdb1, which explains.
 
  


Reply

Tags
bootdisk, usb+flash+drive



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
livecd-tools created usb flash disk not booting prabhatsoni Linux - Software 3 11-05-2010 05:21 AM
Booting from a USB key (flash disk) without using Ramdisk idamlaj Linux - Software 2 11-29-2006 12:25 AM
problem while booting my new distrib from usb flash and hard disk mundri Linux - General 1 06-07-2004 08:47 AM
problem while booting my new distrib from usb flash and hard disk mundri Linux From Scratch 1 06-07-2004 08:19 AM
problem while booting my new distrib from usb flash and hard disk mundri Linux User Groups (LUG) 1 06-07-2004 08:11 AM

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

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