You are not logged in.
Pages: 1
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
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
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
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
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 /mntThen 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
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
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
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
you may try syslinux.
ezik
Offline
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
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
If this line is really what you typed in. Then this is the problem....
grub-install --target=i386-pc --recheck /dev/sda1You need to type this....
grub-install --target=i386-pc --recheck /dev/sdaOwe, 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
Basically, this is how things work.
When you type..
pacman -S grub-biosAll the GRUB2 files are writen to /boot
When you type...
grub-install --target=i386-pc --recheck /dev/sdaThe 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.moThe locale's are moved to the correct location.
When you type...
grub-mkconfig -o /boot/grub/grub.cfgThe 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
Pages: 1