You are not logged in.

#1 2011-07-09 22:28:49

tuxandpucks
Member
Registered: 2011-07-09
Posts: 12
Website

A Command to update grub from cli?

Hey everyone,

This would be my first post in the Arch Forums. I come over from Ubuntu. I can't be certain I'll stay with Arch and not go back, but so far, I love it. If you are curious, I love that I don't have all those programs installed that I don't want installed at startup.

My question, though revolves around Grub. I just now installed grub2, mainly because that is what I am used to - I change but not so drastic - must have something familiar. smile

My windows hard drive isn't listed at startup as a choice for me yet. In Ubuntu, I had installed grub-pc. I would then simply type "sudo apt-get install grub-pc --reinstall" and it would do some sort of magic where it would detect all my OS's and make a nice list for me at startup.

Is there something I can do to do this with Arch? And, if I should go back to grub-legacy to make it easier I am open to that.

I know I can do this via editing the menu.1st file, but I was hoping there was one of those quick, sweet commands out there in Arch land that could make it easier.

Thank you,
Randy

Offline

#2 2011-07-09 22:32:01

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: A Command to update grub from cli?

Offline

#3 2011-07-09 22:37:30

tuxandpucks
Member
Registered: 2011-07-09
Posts: 12
Website

Re: A Command to update grub from cli?

Ahh. thank you. I was just reading that page. I must have missed the snippet about scripts.

thanks!

Offline

#4 2011-07-10 06:48:51

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: A Command to update grub from cli?

Perhaps you are looking for os-prober which is in AUR. Personally I prefer to edit manually.

Offline

#5 2011-07-10 06:55:47

tuxitop
Member
From: Mashhad, Iran
Registered: 2011-04-04
Posts: 24

Re: A Command to update grub from cli?

Ubuntu uses Grub 2 which uses a more automated method to find other Operating Systems.
Arch uses Grub Legacy by default, in order to install Grub 2 you might want to see this page of the Wiki: https://wiki.archlinux.org/index.php/GRUB2

Offline

Board footer

Powered by FluxBB