LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-05-2017, 04:48 PM   #1
Mike Green
LQ Newbie
 
Registered: Dec 2017
Posts: 2

Rep: Reputation: Disabled
Error No Such Device


Hi.

I have a bootable USB with an OLD copy of Ubuntu 14.04. I want to make a NEW bootable USB which would be a copy of Ubuntu 14.04 from my Live System.


The Procedure:

1. Format a NEW USB to ext4 using Gparted

2. 'dd' copy of the first 446 bytes of the OLD bootable USB to the NEW USB

3. Booting with the OLD USB, Gparted copy/paste Ubuntu 14.04 (Partition 4) from my live system to the NEW USB. The uuid of the Live System is "...4b27".

4. Gparted change the uuid of the NEW USB Ubuntu to "….c6ba"

5. Change '/etc/fstab' and '/boot/grub/grub.cfg' on the NEW USB Ubuntu to "….c6ba"

6. Restart the computer, remove the OLD USB, and BIOS disable all other drives on the system


The Problem:

When I boot with the NEW USB, Grub Rescue comes up and says "Error No Such Device: “.....4b27”.

Where is “...4b27” coming from ?? There must be another file in the NEW USB Ubuntu that has the OLD uuid "….4b27". Where ??


Thanks for your help.

M...
 
Old 12-05-2017, 05:11 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,958
Blog Entries: 12

Rep: Reputation: Disabled
Hi & Welcome to LQ.

Quote:
When I boot with the NEW USB, Grub Rescue comes up and says "Error No Such Device: “.....4b27”.
It could be that the new usb flash drive isn't being recognized in the BIOS.
Go into the BIOS and set the boot order to usb as the first choice.

If you still have trouble it's most likely that the flash drive wasn't properly formated.

When I use an .iso of any distro I use the dd cmd like so:

Code:
1. First run fdisk -l to find out the device. /dev/sdx?

2. Than unmount
#umount /dev/sdx

3. #mkfs.vfat /dev/sdx -I

4. #umount /dev/sdg

5. Than write .iso to flash drive
#dd bs=4M if=path/to iso/name of .iso of=/dev/sdx && sync

Here’s an example:
dd bs=4M if=/home/zebracat/iso/linuxmint-18.2-xfce-64bit.iso of=/dev/sdg && sync
You could also use Unetbootin to make your flash drive bootable with 14.04.

The latest LTS of Ubuntu 14.04 is 14.04.5 good till April of 2019. Maybe you could consider downloading a fresh .iso of 14.04 than proceed with making your flash drive bootable.

Not sure what where 4b27 is coming from. Maybe other members will know.
 
Old 12-06-2017, 05:04 PM   #3
Mike Green
LQ Newbie
 
Registered: Dec 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Wink I got it wroking

Hi.

No one can answer where “….4b27” is coming from. So here is what I did:

Boot the NEW USB (BIOS disabled all drives, and no other USB is plugged in.). This takes me into Grub Rescue.

In Grub Rescue, I entered the following commands:

Set prefix=(hd0,1)/boot/grub
set root=(hd0,1)
insmod normal
normal At this point the NEW USB Booted!!!

Once the NEW USB was up:
sudo update-grub
sudo grub-install /dev/sda

Now it boots properly!!!!

I got all this by searching for 'Grub Rescue' commands. You should have seen my face when it booted.

Thanks for your input,

M....
 
Old 12-07-2017, 04:04 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,958
Blog Entries: 12

Rep: Reputation: Disabled
Quote:
Originally Posted by Mike Green View Post
Hi.

No one can answer where “….4b27” is coming from. So here is what I did:

Boot the NEW USB (BIOS disabled all drives, and no other USB is plugged in.). This takes me into Grub Rescue.

In Grub Rescue, I entered the following commands:

Set prefix=(hd0,1)/boot/grub
set root=(hd0,1)
insmod normal
normal At this point the NEW USB Booted!!!

Once the NEW USB was up:
sudo update-grub
sudo grub-install /dev/sda

Now it boots properly!!!!

I got all this by searching for 'Grub Rescue' commands. You should have seen my face when it booted.

Thanks for your input,

M....
Glad to hear you got it working.

Thanks for the details.

Don't forget to mark your thread SOLVED.

Last edited by Ztcoracat; 12-07-2017 at 04:10 PM.
 
  


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
Unable to mount USB, Error: device descriptor read/64, error -71 shredder12 Linux - Hardware 2 02-16-2010 01:45 AM
MPlayer Error Message - Error Opening/Initializing Video Out Device Harpo Linux - Newbie 12 12-30-2009 12:26 AM
lifekeeper error: DEVICE FAILURE on SCSI device '/dev/add' yuanjunliang Linux - Server 3 09-17-2009 05:24 PM
Write-error on swap-device error on package install slack 12.2 chickenlinux Slackware 11 01-25-2009 09:14 PM
Error opening PCM device Device or resource busy Herbivore Linux - Newbie 2 08-23-2008 02:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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