LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-13-2019, 02:34 PM   #1
arasuk
Member
 
Registered: Nov 2015
Posts: 30

Rep: Reputation: Disabled
/i-386-pc/normal.mod not found


1) In in existing linux system, I installed linux on a
16 GB USB-A. When I boot from USB-A it works.

2) I successfully copied the USB-A using dd command into USB-B.

3)When I boot from USB-B it goes into grub rescue.

and I get the following error.

error: file /media/disk/grub/i-386-pc/normal.mod not found

(USB- A is 16 GB and USB-B is 64 GB).

How to boot successfully from USB-B?
What I should do now with the grub rescue command in hand with me,
or anythng else?
 
Old 11-13-2019, 02:41 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
https://help.ubuntu.com/community/Grub2/Troubleshooting
 
Old 11-13-2019, 03:02 PM   #3
arasuk
Member
 
Registered: Nov 2015
Posts: 30

Original Poster
Rep: Reputation: Disabled
web link is is giving some insight, but no solution to me.

Quote:
Originally Posted by colorpurple21859 View Post
The link is very general, not addressing my specific error.
Looking forward t a more prgrmatic solution. Thanks.
 
Old 11-13-2019, 03:19 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
specific error is grub-rescue. The short of it your going to have to reinstall grub bootloader to the mbr of the usb.
Without know nothing about the partition layout of the usb or directories on usb it is just a guessing game. The link provided tells how to resolve the issue from the grub-rescue prompt
You can boot into you installed system mount your usb somewhere, run
Code:
grub-install --boot-directory=<mount point of usb>/boot
If your installed system boots in efi mode, the will have to add
Code:
--target=i386-pc
to the above command line.

Last edited by colorpurple21859; 11-13-2019 at 03:27 PM.
 
Old 11-13-2019, 03:39 PM   #5
arasuk
Member
 
Registered: Nov 2015
Posts: 30

Original Poster
Rep: Reputation: Disabled
Angry

Quote:
Originally Posted by colorpurple21859 View Post
specific error is grub-rescue. The short of it your going to have to reinstall grub bootloader to the mbr of the usb.
Without know nothing about the partition layout of the usb or directories on usb it is just a guessing game. The link provided tells how to resolve the issue from the grub-rescue prompt
You can boot into you installed system mount your usb somewhere, run
Code:
grub-install --boot-directory=<mount point of usb>/boot
If your installed system boots in efi mode, the will have to add
Code:
--target=i386-pc
to the above command line.
Thanks, for some light.
I am newbie, how to mount my usb somewhere, not clear you mean in
rescue mode?
When I boot to the usb, all I have is the grub rescue> prompt.
The usb device is sdb and has only only direcotry sdb1.

I wish to see the end of the tunnel, have been trying for more than a week
 
Old 11-13-2019, 05:55 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Quote:
In in existing linux system, I installed linux on a
16 GB USB-A.
How did you do this, what program or commands? did you use an iso?
Quote:
I successfully copied the USB-A using dd command into USB-B.
What was the dd command you used?
Quote:
how to mount my usb somewhere,
Code:
sudo mount /dev/sdb1 /mnt
where /mnt would be the mount point assuming /dev/sdb1 is the correct drive/paritition for the usb.
 
Old 11-13-2019, 09:06 PM   #7
arasuk
Member
 
Registered: Nov 2015
Posts: 30

Original Poster
Rep: Reputation: Disabled
installation and dd commands.

1) I installed using iso through a bootable device onto USB-A

2) Then I inserted USB-A(16 GB) and a blank USB-B (64 GB) intended to
copy the from A to B through this command.
(Why I did not install onto USB-B like in USB-A is on a 64GB installation
is not working I tried with almost all options in the partion making, always
I got unable to create partition in whatever format, or partition size. All my
installations are in 32 bit pc)

sudo dd=if/dev/sdb conv=sync,bs=4M status=progress gzip -c > linux-mint.gz
(sdb is USB-A)

then,

gunzip -c linux-mint.gz |sudo of=/dev/sec bs=4M
(sdc is USB-B)

No error in.
Now when I boot from USB-B, the rescue grub> is coming.
USB-A is bootable, and working fine.

Thanks once again, and I am eagerly waiting for a solution.

Last edited by arasuk; 11-13-2019 at 09:11 PM.
 
Old 11-13-2019, 09:30 PM   #8
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
why didn't you plug both usbs in at the same time and
Code:
dd if=/dev/sd? of=/dev/sd?
where the ? will be what usb-a and usb-b are respectivly?

assumimg the usb you won't to fix is sdb
Code:
sudo umount /dev/sdb1
sudo mount /dev/sdb1 /mnt
sudo grub-install --boot-directory=/mnt/boot /dev/sdb
This also assumes there is a /boot/grub/grub.cfg already exist on the usb.
the umount is in case the usb was automounted when plugged in.

You may have a bad usb. They do go bad eventually depending on how old they are.

Last edited by colorpurple21859; 11-13-2019 at 09:42 PM.
 
Old 11-13-2019, 11:20 PM   #9
arasuk
Member
 
Registered: Nov 2015
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
why didn't you plug both usbs in at the same time and
Code:
dd if=/dev/sd? of=/dev/sd?
where the ? will be what usb-a and usb-b are respectivly?

assumimg the usb you won't to fix is sdb
Code:
sudo umount /dev/sdb1
sudo mount /dev/sdb1 /mnt
sudo grub-install --boot-directory=/mnt/boot /dev/sdb
This also assumes there is a /boot/grub/grub.cfg already exist on the usb.
the umount is in case the usb was automounted when plugged in.

You may have a bad usb. They do go bad eventually depending on how old they are.
Thanks again for the efforts. I did copy directly using your suggestion, but that did not make any difference. That was my attempt. They are not different.

I checked the /boot/grub/grub.cfg file exists.

I tried your second suggesion, I get the following error. This is not installing the grub, for the last command the reported error is as follows:

arasu@lihome:~$ sudo grub-install --boot-directory=/mnt/boot /dev/sdb
Unrecognized option `--boot-directory=/mnt/boot'
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.

-h, --help print this message and exit
-v, --version print the version information and exit
--root-directory=DIR install GRUB images under the directory DIR
instead of the root directory
--grub-shell=FILE use FILE as the grub shell
--no-floppy do not probe any floppy drive
--force-lba force GRUB to use LBA mode even for a buggy
BIOS
--recheck probe a device map even if it already exists

INSTALL_DEVICE can be a GRUB device name or a system device filename.

grub-install copies GRUB images into the DIR/boot directory specfied by
--root-directory, and uses the grub shell to install grub into the boot
sector.

Report bugs to <bug-grub@gnu.org>.
arasu@lihome:~$
 
Old 11-14-2019, 05:12 AM   #10
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Quote:
grub-install copies GRUB images into the DIR/boot directory specfied by
--root-directory, and uses the grub shell to install grub into the boot
sector.
then it will be
Code:
sudo grub-install --root-directory=/mnt /dev/sdb
 
  


Reply

Tags
grub rescue



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
Grub error "/boot/grub/x86_64-efi/normal.mod not found" after installing Ubuntu caml Linux - Newbie 6 01-20-2022 09:45 PM
Grub error "/boot/grub/i386-pc/normal.mod not found" in Kvm micaldas Linux - Software 11 11-26-2018 11:31 AM
GRUB - normal.mod not found razelll Linux - Newbie 6 04-15-2018 12:48 PM
[SOLVED] Ubuntu 12.10 - grub error "file /boot/grub/i386-pc/normal.mod not found" champton Ubuntu 4 02-26-2013 09:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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