You are not logged in.
Pages: 1
Hi,
During arch's instalation, I had some trouble with grub2. I solved it with my ubuntu (I have ubuntu, arch and windows in parallel on my pc). Everything works on my archlinux, but I want to install grub on my archlinux instead of ubuntu.
I have no uefi, and a mbr partition scheme.
I follow the official guide https://wiki.archlinux.org/index.php/Gr … _systems_2.
After installing «grub» package, I tried « grub-mkconfig -o /boot/grub/grub.cfg ». My /etc/default/grub and /etc/grub.d/* are defaul file. It found all my OS, but I get the following error :
# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Image Linux trouvée : /boot/vmlinuz-linux
Image mémoire initiale trouvée : /boot/initramfs-linux.img
No volume groups found
Windows Recovery Environment (loader) trouvé sur /dev/sda1
Ubuntu 13.10 (13.10) trouvé sur /dev/sda13
Windows 7 (loader) trouvé sur /dev/sda2
Ubuntu 13.04 (13.04) trouvé sur /dev/sda6
erreur : mémoire épuisée.
erreur : syntax error.
erreur : Incorrect command.
erreur : syntax error.
Erreur de syntaxe à la ligne 385
Des erreurs de syntaxe sont détectées dans le fichier de configuration
de GRUB. Veuillez vérifier qu'il n'y a pas d'erreur dans les fichiers
/etc/default/grub et /etc/grub.d/*. Sinon veuillez signaler un bogue
en joignant le fichier /boot/grub/grub.cfg.new.faitI have not found a proper way to post the 385 line of and my /boot/grub/grub.cfg.new
Last edited by robin_m (2013-12-11 16:32:35)
Offline
robin_m, welcome to Arch. Please search the forum before asking a question. It looks like you are having the same problem as the users in this topic: https://bbs.archlinux.org/viewtopic.php?id=173921
The solution is here: https://bbs.archlinux.org/viewtopic.php … 7#p1358407
Last edited by 2ManyDogs (2013-12-11 15:31:25)
Offline
And you used the grub-install command as mentioned?
Also, please use LANG=C or similar when posting outputs, not everyone are used to translating error messages from French ![]()
Offline
2ManyDogs: It made reseach with google and duck duck go, and I had no found that topic. Thanks for the links. It seems to fix the problem. I reeboot and check it
ArctusArctus: I have not already used grub-install, because ubuntu's grub work fine and I want not to broke it if their is a problem with arch's grub config.
For the LANG=C , I saw their was a problem of translation, but I had no ideas how to solve it.
Why does I had to make a fix? It was a frech install, and I re-install grub with « pacman -Rn grub ; pacman -S grub », so I thought all config file were reset to default.
Offline
Please read https://wiki.archlinux.org/index.php/Fo … s_and_Code :-)
Run
LANG=C grub-mkconfig -o /boot/grub/grub.cfgto get output in English.
Last edited by karol (2013-12-11 16:06:27)
Offline
Thanks all, it is fixed using (I check and reboot)
# Fix broken grub.cfg gen
GRUB_DISABLE_SUBMENU=ykarol : my question was not clear "Why I have to fix grub.cfg" even if it was a fresh install. Can this be a bug of grub ?
Offline
And sorry, I have not found the page that explain how to add the «fixed» status for the topic.
Offline
And sorry, I have not found the page that explain how to add the «fixed» status for the topic.
https://bbs.archlinux.org/viewtopic.php?id=130309
It's also on the wiki page I linked to already, a bit further down: https://wiki.archlinux.org/index.php/Fo … ow_to_Post
Last edited by karol (2013-12-11 16:23:35)
Offline
Thanks a lot. I hope I will be less newbie next time!
Offline
Pages: 1