[ SOLVED ] Still not understanding how to reinstall Grub ?

Hi All
I currently have a dual boot windows 7 & Arch system and i have to wipe the Windows partition and reinstall.  But i am still confused as to how to reinstall Grub once i have reinstalled windows 7.  The wiki post is not longer available and have not found anything that explains what i need to do ... So can anyone point me in the right direction or explain what i need to do ?
Many Thanks
Last edited by whitetimer (2011-01-03 15:48:49)

# FLAWLESS GRUB REINSTALL GUIDE BY DARKBEANIES ASSUMING YOU USE EXT3 FILESYSTEM
# Boot arch install cd and login as root, and type the following commands in order, replacing X and Y values with the number of the partition/disk(MAKE SURE YOU GET THIS RIGHT, ASK IF YOU DON'T KNOW)
cd /
mount -t ext3 /dev/sdaX /mnt
mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
chroot /mnt /bin/bash
#IMPORTANT-ONLY IF YOU HAVE SEPARATE BOOT PARTITION
mount -t ext3 /dev/sdaX /boot
#Then try:
grub-install /dev/sdaX
# -WHEN- this fails type this:
grub
root (hdY,X)
setup (hdY)
#Then reboot:
cd /
umount -a
exit
cd /
umount -a
reboot
#That's it!
Why oh why was this page removed from the wiki I do not know...
Live CDs of various flavours available HERE: (Don't you have the CD or whatever you used to install to begin with?)
http://www.archlinux.org/download/
Last edited by darkbeanies (2011-01-02 17:24:55)

Similar Messages

  • SMTP Banner mismatch - still not understanding how this works?

    I have a new Exchange 2010 install.  
    My outgoing email is getting flagged as spam.  MX Record test shows SMTP banner mismatch.
    I understand that you don't change the FQDN on the receive connector using the GUI.
    I have created an additional Receive connector so I have the following:
    Receive Connectors:
    Client Comm
    Default Comm
    My question is how to I change the smtp banner and which connector do I set it on.  The syntax needed for the Set-ReceiveConnector is kicking my butt.
    It sure is frustrating that the new Windows World is so centered around Powershell command lines. Very frustrating and backwards technology.
    The documentation on the Set and Get-Receiveconnectors is very poorly written. IMHO.

    My reverse DNS is setup correctly.
    This is an issue with the receive connector banner page.  Some email hosting services, AOL, Hotmail etc.  are flagging my outbound email as junk.  So they must be doing a test to see that my receive connectors have the wrong SMTP banner.
    My send connector is ALSO setup correctly.  
    I need help with the syntax in using the Set-receiveconnector cmd.
    Follow:
    http://technet.microsoft.com/en-us/library/bb125159(v=exchg.141).aspx
    Create a Internet type custom receive connector. My assumption is that you receive internet messages directly to the hubs. When you create an Internet Receive Connector it will allow anonymous senders to connect to it so it will work for internet messages. 
    In the Specify the FQDN this connector will provide in response to HELO or EHLO field, type the name advertised in response to the SMTP HELO or EHLO verb. If you leave this field blank, the fully qualified domain name (FQDN) of the Hub
    Transport server or Edge Transport server is automatically added when the connector is created
    Twitter!:

  • Users of imovie experience a lot of problems and crying for help and no one at Apple did not respond I do not understand how a company like Apple puts experts to help users Please note that anonymous experts in Internet offer their help for money

    Users of imovie experience a lot of problems and crying for help and no one at Apple did not respond
    I do not understand how a company like Apple puts experts to help users
    Please note that anonymous experts in Internet offer their help for money

    Users of imovie experience a lot of problems and crying for help and no one at Apple did not respond
    I do not understand how a company like Apple puts experts to help users
    Please note that anonymous experts in Internet offer their help for money

  • HT201250 I do not understand how to restore my entire iTunes music library with Playlists and all?

    I do not understand how to restore my iTunes library inlcuding Playlists and all? In clearing out an older Powerbook I had not signed out of MobileMe when clearing iTunes. That deleted many songs and Playlists on the iMac and iPhone. Help is appreciated.

    And yes, I have a 500G external HD so I know the data is in there.

  • HT4759 i'm trying to access my new icloud email acct from my mac. I have OS X 10.6.8 and have just completed a software update. But still not seeing how to install my icloud email...?

    i'm trying to access my new icloud email acct from my mac. I have OS 10.6.8 and have just completed a software update. But still not seeing how to install my icloud acct...?

    You must upgrade your OSX to Lion (10.7) minimum, Mavericks (10.9) preferably.

  • Not understanding how Wifi Works

    Good morning all, so I'm not understanding how Wifi works on the 3GS. It seems to behave differently then on the 3G. If I send a video to some one and hit the sleep awake button it never goes through. It seems to only send it if I keep the screen active, and I'm not understanding how keeping wifi on drains the battery if everytime I hit the sleep button it disconnects it. It's kind of annoying, because before you could shoot off an email and it would go right through. I have noticed though that if it's on 3G it does go through. Has any one else noticed this? Thanks!

    I notice sometimes when I am connected to WiFi that after I wake up the phone it takes a couple seconds to reconnect to WiFi so it does seem like the phone turns the WiFi off at some point while sleeping or at least goes into some sort of standby maybe. I don't think I have had an issue of it turning off after you hit sleep until it was done sending though. I would think that if the WiFi does turn off while asleep that it would have a sleep time after a certain amount of inactive time and not the second the screen is off.
    I'm interested in finding this out as well. I havent had this issue but I do send a lot of large attachments and may need to know this for future reference.
    Message was edited by: Ray Golob

  • HT4993 I put my fingerprints in for set up, but the touch ID still not activated, how do I turn it on?

    I put my fingerprints in for set up on my 5S, but the touch ID still not activated, how do I turn it on?

    http://support.apple.com/kb/HT5883

  • Something happened to my phone and lost all contacts.I did not know this and backed up my phone.When i tried to restore back up the contacts were still not there.How to access older back up?

    Something happened to my phone and lost all contacts.I did not know this and backed up my phone.When i tried to restore back up the contacts were still not there.How to access older back up?

    Her contacts would be wherever she put them
    The iphone is designed to be synced to your computer or cloud service regularly.  If she failed to do this, then they are likely gone.

  • My  BEATS speakers are connected to my Mac but I have no audio and do not understand how to turn off the speaker. I press the power button and not shut off. And the white light behind me indicating that this synchronized, does not turn off ever.

    My  BEATS speakers are connected to my Mac but I have no audio and do not understand how to turn off the speaker. I press the power button and not shut off. And the white light behind me indicating that this synchronized, does not turn off ever.

    Hello Sabroso007
    Check out the article below to troubleshoot the sound output to your Bluetooth speaker. Check in System Preferences > Sound to see what the output is set to.
    OS X Mavericks: Set up Bluetooth audio devices
    http://support.apple.com/kb/PH14217
    Regards,
    -Norm G.

  • No Crop tool in Adobe Camera Raw, have updated to 8.7 but still not there, how do I get full tool panel please?

    Hi, I have the $9.99 Adobe CC package but in Camera Raw I do not have the full tool bar, went to Adobe site and downloaded Camera Raw 8.7 but still not there, I have Windows 7 on PC. Please can anyone help. Thanks.

    Yes, in the camera-raw preferences you can set ACR to open as a plug-in when editing TIFs or JPGs.  There are three settings -- paraphrasing:  Don’t, Open all, and Open those with settings.  You would want to set JPG’s setting to Open All at least temporarily. 
    Of course you can also use PS to crop, right?

  • Still not sure how to share files with my friend's Windows PC?

    I went through all the help pages concerning this, but it doesn't seem to help any. On our house internet connection, both our computers use the same IP address. I tried connecting directly to his computer using ethernet cable, but his computer never showed up. Our workgroup name should be the same, his is WORKGROUP but I'm not sure how to officially make mine that. I went to Network in System Preferences and clicked on Advanced... then went to the WINS tab and it has workgroup in the workgroup box, does this mean my computer is using that workgroup name? I'm at a loss and would like to share files with my friend's computer.

    Desidarius wrote:
    I went through all the help pages concerning this, but it doesn't seem to help any. On our house internet connection, both our computers use the same IP address.
    Do you have a router?
    If not then sharing files will not be easy.
    I tried connecting directly to his computer using ethernet cable, but his computer never showed up. Our workgroup name should be the same, his is WORKGROUP but I'm not sure how to officially make mine that. I went to Network in System Preferences and clicked on Advanced... then went to the WINS tab and it has workgroup in the workgroup box, does this mean my computer is using that workgroup name? I'm at a loss and would like to share files with my friend's computer.
    The add the Mac to the WORKGROUP
    Applications > Utilities > Directory Access
    Select SMB/CIFS
    Click Configure
    Change Workgroup to match the Windows Workgroup.

  • [SOLVED] Can't understand how `install` command works

    Hi there:
    I'm trying to make a PKGBUILD for pgModeler, which comes pre-compiled, so I think what I should do is to move the application directory completely to /opt/pgmodeler and make a symbolic link from /usr/bin to the /opt/pgmodeler/start-pgmodeler.sh script. So, i just wrote this:
    pkgname=pgmodeler
    pkgver=0.4.1
    pkgrel=1
    pkgdesc="An open source tool for modeling PostgreSQL databases"
    arch=('x86_64')
    url="http://pgmodeler.com.br"
    license=('GPL3')
    source=("http://www.pgmodeler.com.br/releases/$pkgname-$pkgver-linux64.tar.gz" "pgmodeler.desktop")
    md5sums=('574887c35bc9e0a1bc65f8d4494200bb' '1f3ebda62e941ea7ea17cfb609cc392e')
    depends=(libpqxx)
    package() {
    install -Dm644 "$srcdir/$pkgname-$pkgver-linux64" "$pkgdir/opt/$pkgname"
    install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
    install -Dm644 "$srcdir/$pkgname-$pkgver-linux64/pgmodeler_logo.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
    chmod 755 "$pkgdir/opt/$pkgname/start-pgmodeler.sh"
    ln -s "$pkgdir/opt/$pkgname/start-pgmodeler.sh" "$pkgdir/usr/bin/$pkgname"
    But it fails in the first line of the package() function:
    [tae@localhost pgmodeler]$ makepkg -s
    ==> Making package: pgmodeler 0.4.1-1 (Sun Mar 17 23:03:08 CLST 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Found pgmodeler-0.4.1-linux64.tar.gz
    -> Found pgmodeler.desktop
    ==> Validating source files with md5sums...
    pgmodeler-0.4.1-linux64.tar.gz ... Passed
    pgmodeler.desktop ... Passed
    ==> Extracting Sources...
    -> Extracting pgmodeler-0.4.1-linux64.tar.gz with bsdtar
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting package()...
    install: omitting directory ‘/home/tae/GitHub/pgmodeler/src/pgmodeler-0.4.1-linux64’
    ==> ERROR: A failure occurred in package().
    Aborting...
    This is my first PKGBUILD and I'm trying to decipher how to make it by looking at this files: https://aur.archlinux.org/packages/dr/dropbox/PKGBUILD and https://aur.archlinux.org/packages/op/opcion/PKGBUILD and I never used the install command before so I'm pretty lost.
    Thanks beforehand.
    Last edited by Tae (2013-03-19 12:44:45)

    Thanks to all. I learned a couple of stuff, but I still have no luck. This is what I've tried:
    I wrote install -d "$pkgdir/opt" in the first line of the package() function before ask, but it didn't make any difference. In fact, I'm not sure what it does (from its man page: treat all arguments as directory names; create all components of the specified directories).
    I modified the function with all your suggestions, and now it looks:
    package() {
    cp -R "$srcdir/$pkgname-$pkgver-linux64" "$pkgdir/opt/$pkgname"
    chmod 644 "$pkgdir/opt/$pkname/"
    chmod 755 "$pkgdir/opt/$pkgname/start-pgmodeler.sh"
    install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
    install -Dm644 "$pkgdir/opt/$pkgname/pgmodeler_logo.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
    ln -s "/opt/$pkgname/start-pgmodeler.sh" "$pkgdir/usr/bin/$pkgname/"
    but I get:
    $ makepkg -s
    ==> Making package: pgmodeler 0.4.1-1 (lun mar 18 20:33:53 CLST 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Found pgmodeler-0.4.1-linux64.tar.gz
    -> Found pgmodeler.desktop
    ==> Validating source files with md5sums...
    pgmodeler-0.4.1-linux64.tar.gz ... Passed
    pgmodeler.desktop ... Passed
    ==> Extracting Sources...
    -> Extracting pgmodeler-0.4.1-linux64.tar.gz with bsdtar
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting package()...
    cp: cannot create directory ‘/home/tae/GitHub/pgModeler/pkg/opt/pgmodeler’: No such file or directory
    ==> ERROR: A failure occurred in package().
    Aborting...
    Here I can't understand why it tries to create /opt/pgmodeler inside the pkg/ directory. For what I found in other PKGBUILDs and from the $pkgdir definition of the PKGBUILD man page (This contains the directory where makepkg bundles the installed package (this directory will become the root directory of your built package)) I though it will be the root directory.
    So I removed all the $pkgdir from the function and now I get this error:
    mkdir: cannot create directory ‘/opt/pgmodeler/’: Permission denied

  • Greetings world.I have created a dmg. of my entire iomega ext HDD via disk utility using a mac book pro. It is currently sitting on the desktop. I have erased the iomega and now I can not understand how to put the dmg back.

    It is safe to say that i need help..................
    let me start at the beginning.
    I have 1 2008 imac. always a pleasure never been a problem. Attached to it i have an iomega 500gb ext drive. also been ok.
    until now!!
    The HDD would not mount. Disk utility suggested that it was ok so i tested the imac HD. I got error code 4MOT/2/40000004: HDD- 1502. This doesnt worry me at the moment.
    I attached iomega to my Mac book pro and again it would not mount. The disk utility did tell me that the iomega needed repair. it advised that i should wipe it and restore.
    So I used the MB Pro disk utility to create a DMG. and saved it to the desk top. I then erased the iomega. did a repair and it all seemed ok. So then i try to do a restore.
    After a very long time it said internal error with the dmg. using disk utility i did a convert dmg (compressed) and saved it to the iomega. middle of the night job!!
    got up this morning and indeed it had sent the DMG to the iomega. But i could not open it. The iomega itself seemed dandy asking me if i wanted to use it as a time machine etc and it mounted ok and i saved a small jpeg to the iomega as well. I then thought that maybe when i did the convert as a compressed file i made a mistake. i'm guessing it should be a read and write so i started all over again.......... wiped iomega (which was quite quick) then tried the convert tool again.....it trys for a while then says there is not enough disk space...........I'm not sure which disk it is refering to.??
    I have purchased a 1tb hard drive today incase the iomega is some how full up.
    So really my question to the world is .........Help?

    well no reply from the community. sniff- do i stink!? - probably a little bit. If i have lost all that data then I'm gonna really really pong.
    Any ways i have purchased a 1tb usb HDD and have managed to duplicate the dmg file onto it. however still unable to mount the **** thing. so now i have ordered disk warrior which will be in my possession tomorrow.
    fingers toes eyes crossed.

  • Do not understand how to manage multiple libraries in iTunes

    Hope to learn from you!
    What I am trying to achieved?
    Using the proper procedures as described in "iTunes for Mac: Moving your iTunes Media folder" - I have succesfully moved my iTunes library to an external hard disk. So, I can play from this HDD when it is connected. That's good. I have trashed this library from the internal disk.
    I want to keep a smaller iTunes library in my laptop - so I can play music without having the HDD connected. I do not need to keep this library in sync with the external main HDD - but, it is fine if it is.
    So, I created a new iTunes in my laptop and named it "iTunes Laptop". I will "option" launch iTunes and select this library. In the "advanced" preference pane - both these "Keep iTunes Media folder organised" and "Copy files to iTunes Media folder when adding to library" are ticked.
    Now, when I copy music from CD to this "iTunes Laptop" - it will copy to this folder "iTunes Laptop>Music" AND to the 'iTunes Media" on the HDD.
    But, I can play the copied music on the "iTunes Laptop" ONLY when the HDD is connected - but, the music files arte in BOTH the "iTunes Laptop>Music" AND "iTunes Media" on the HDD!
    Does anyone understand what I have done correctly to achieve my objectives stated above? Or, what is your ways to doing something similar?
    Kind regards.

    You're welcome, Rob.
    Thanks again for your prompt advice. Is there any way to merge libraries?
    There is not yet a simple, lossless way to merge libraries.  It would be better to merge all iPhoto Libraries into one before migrating them to Photos.
    You have two options:
    Merge the iPhoto Librariess with Aperture, if you have a compatible Aperture version. See:  Aperture 3.3: How to use Aperture to merge iPhoto libraries
    Merge the iPhoto Libraries with iPhoto Library Manager before migrating. But you would need the full, paid version: See:  http://www.fatcatsoftware.com/iplm/Help/merging%20libraries.html
    If you want to store the libraries in iCloud Photo Library, you could alternately upload one library after the other by opening it as your main System Photo Library and enabling  iCloud Photo Library, This would result in a merged Library in iCloud, but your Faces data would not download again.
    And would cause a lot of network traffic and you would need an advanced storage plan for iCloud to store a large library.
    iCloud Photo Library beta FAQ
    The lossy option is to export all photos from the libraries to be added and to import them to iPhoto.

  • I just had the hard drive replaced in my computer under the Seagate 1TB Hard Drive replacement program.  I backed up my files prior using Time Machine.  Everything is back as it should be but I do not understand how to replace iLife app to access my photo

    iLife apparently was installed on the iMac at the time of the purchase. How do I get the program back on the machine. The Apple "Genius" at the Apple Stpore advised me to go to the iTunes store and get a download. How do THEY know that I have iLife? If the store in fact did install the program at purchase how do you get a copy to reinstall on the machine?
    Larry

    iLife is preinstalled on all the Macs. If you purchased iLife in the App Store or your computer came without DVDs, open App Store > Purchases and download the applications. If your Mac came with discs, insert the Applications DVD and install iLife applications

Maybe you are looking for

  • One login for multiple apps?

    How easy is it under J2EE to implement applications which share a single login? Specifically, what I'm implementing are a collection of snap-in applications, which will share the user database to some extent (or at least, a common part of it).. So I

  • Configuring Cisco 3620 router

    I am quite new and haven't worked before with Cisco router. I have a Cisco 3620 router with only one ethernet interface (FastEthernet 0/0). I want to configure it so that the router will have ip address of 192.168.2.2 (255.255.255.0). I am not using

  • Button that initializes values then releases control of further booleans

    I am attempting to create a button that turns on a series of other buttons but then releases control to allow individual switching. The problem is that for my project I must run the labview file continuously so when I change a control switch to true

  • ECC 6.0 upgrade documents / notes!

    Hi All, After upgrading to ECC 6.0 from 4.7, we are facing some errors in FA.  Can anyone help me with some document / notes on such upgrades (relating to FA)? Thanks Muru

  • CS6 Illustrator and InDesign colours are changed when the PDF is saved.

    CS6 Illustrator and InDesign colours are changing when the saved PDFs are displayed on some different computers and for digital print output. I have ensured that the colours are all CMYK and tried different adjustments like preserving the numbers and