You are not logged in.

#1 2012-11-12 09:50:41

varghesekrenny
Member
Registered: 2012-11-07
Posts: 17

/boot/grub/menu.lst is not found

I am not able to find my menu.lst file
I got error 17 after installation of arch linux
So when i try to reinstall bootloader program, after chroot to shell prompt...i checked, but inside /boot/grub no menu.lst files are found
when i try to run grub it is also not working..









Please help me on this error

Offline

#2 2012-11-12 10:00:15

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: /boot/grub/menu.lst is not found

Are you using the legacy version of grub?  I though the current grub used a file called grub.cfg?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2012-11-12 10:02:02

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: /boot/grub/menu.lst is not found

Do you have a /boot/grub/grub.cfg

Are you booting with BIOS or UEFI?


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#4 2012-11-12 10:07:11

varghesekrenny
Member
Registered: 2012-11-07
Posts: 17

Re: /boot/grub/menu.lst is not found

I am booting with bios..ofcourse i have grub.conf..thanks..not able to run grub?..it's saying command not found
From where i needed to run grub for reinstallation since i got error 17 after arch linux installation..

Offline

#5 2012-11-12 10:14:40

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: /boot/grub/menu.lst is not found

Okay,

Boot into the Live Arch install CD or USB

Then mount all the partitions as the biginners guide says
like...
Mount /dev/sda2 to /mnt
Mount /dev/sda1 to /mnt/boot
and so on... /dev/sda3 to /mnt/home

Then

arch-chroot /mnt

Then follow these instructions to install grub-bios this is GRUB2.
https://wiki.archlinux.org/index.php/Be … Guide#GRUB

Last edited by hunterthomson (2012-11-12 10:22:25)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#6 2012-11-12 10:29:27

varghesekrenny
Member
Registered: 2012-11-07
Posts: 17

Re: /boot/grub/menu.lst is not found

I done the same thing during the time of installation..but i got that error 17
So i followed the instructions given in
https://wiki.archlinux.org/index.php/GR … B.27s_root

But here after chrooting i need to get to grub prompt..But i don't know how to do that?






Regards,
varghese

Offline

#7 2012-11-12 11:05:59

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: /boot/grub/menu.lst is not found

Many, many times I have followed instructions, and then I had problems. However, when I whent through the process again I discovered a small mistake I made the first time through. Then after the second time through the process the problem was resolved.

I highly sugjest you follow the Beginners' Guide even if something didn't work the first time through.
GRUB Legacy has been deprecated in Arch.

If you insist on not doing that then we need more information.

What is your hardware configuration?
How are things partitioned?
Are you booting from a Live CD or USB?

Last edited by hunterthomson (2012-11-12 11:12:39)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#8 2012-11-12 11:31:05

varghesekrenny
Member
Registered: 2012-11-07
Posts: 17

Re: /boot/grub/menu.lst is not found

i will explain in detail
System is 64 bit, BIOS
My partition is like /dev/sda1  - boot
                              /dev/sda2  - swap
                              /dev/sda3  - root
                              /dev/sda4  - home

after doing chroot-arch /mnt
i mounted my root into /mnt(/dev/sda3)
/mnt/home - /dev/sda4
/mnt/boot - /dev/sda1
Like this i mounted

Then i did the bootloader installation as
pacman -S grub-bios
grub-install --target=i386-pc --recheck /dev/sda1
This time i got some warnings like
couldn't get information from filesystem /run/archiso/bootmaf
...................
/sys/fs/cgroup/systemd
.................
So i put --force 
installation is done..
cp /usr/../grub.mo /boot/..../en.mo
when i did  grub-mkconfig step
No volumes found...
done i got..
when reboot i got error 17...
I am trying to install using
https://wiki.archlinux.org/index.php/GR … stallation
But i don't know how to go to grub shell...


Please help me..i am stuck up this for 2 days....

Offline

#9 2012-11-12 16:04:49

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 470

Re: /boot/grub/menu.lst is not found

you may try syslinux.

ezik

Offline

#10 2012-11-12 16:52:30

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: /boot/grub/menu.lst is not found

And please use ...

 code tags 

as it makes your posts much easier to read and thus easier to understand.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#11 2012-11-12 18:27:18

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: /boot/grub/menu.lst is not found

Unless you got confused when giving the details of your install, read the beginners guide again, please.  You have your steps backwards, if that's really what you're doing.  You need to mount partitions and pacstrap before using arch-chroot /mnt.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#12 2012-11-12 21:51:27

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: /boot/grub/menu.lst is not found

If this line is really what you typed in. Then this is the problem....

grub-install --target=i386-pc --recheck /dev/sda1

You need to type this....

grub-install --target=i386-pc --recheck /dev/sda

Owe, and you partitioned you disk with like fdisk or gparted MBR style right? not GPT?

Last edited by hunterthomson (2012-11-12 22:04:40)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#13 2012-11-12 22:02:06

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: /boot/grub/menu.lst is not found

Basically, this is how things work.

When you type..

pacman -S grub-bios

All the GRUB2 files are writen to /boot

When you type...

grub-install --target=i386-pc --recheck /dev/sda

The GRUB2 boot loader is installed to the MBR of the drive... (so, when you put the partition # at the end, the GRUB2 boot loader was written to the start of the first partition instead of the MBR).

When you type...

cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo

The locale's are moved to the correct location.

When you type...

grub-mkconfig -o /boot/grub/grub.cfg

The GRUB2 uses /etc/defualt/grub as a base, locates all the kernels and initramfs's, Then auto generates a grub.cfg file and writes the output to /boot/grub/grub.cfg

Last edited by hunterthomson (2012-11-12 22:05:38)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

Board footer

Powered by FluxBB