Where to install grub?on another partition?or in the / ?

hi
i'm tring to install arch
where i need to install grub?on the root partition(/)?
because after i finished  the instaltion and rebooted, windows load up normally:/
Last edited by dids22 (2007-02-06 22:30:22)

jwbirdsong wrote:
Instaling it to the MBR is the most common method....although either CAN work...
to install to MBR, as root
grub-install /dev/h(s)da
More good info on WIKI
so why windows boot up normally and not grub??

Similar Messages

  • [SOLVED] Dualboot w7 + Arch ( where to install grub )

    Hello,
    I have win 7 already installed,
    now i want to install Archlinux on same disk, but on other partitions.
    My currently partiotion schema ( MBR ) looks like:
    /dev/sda1 win7
    /dev/sda2 reserverd for linux boot part
    /dev/sda3 reserverd for linux root
    I readed beginners guide, and the only one thing is not clear for me,
    beginners guide advises not to install grub on any partiorion only on disk's mbr /dev/sda
    I can not do that, because it will destroy my win7's mbr( partion table and so on )
    Earlier with this configuration i had sabayon linux installed,
    with grub on /dev/sda2, both systems booted with bcdedit and all worked fine.
    How can I solve this ( grub2 can not be installed in /dev/sdaX )
    Thanks for any help.
    Last edited by tangram (2013-11-18 09:55:29)

    tangram wrote:
    henk wrote:... Why do you personally think grub will update to /dev/sda? Do you know how grub works that well? ...
    I do not know, I felt it so, earlier linux experiences, maybe better I should write "I suppose".
    It is not a question of knowing grub. It is a question of knowing Arch. When pacman updates grub, it does not reinstall to disk, it does not generate a new configuration file and it does not, therefore, touch either the MBR or the BIOS boot partition or any installation to a partition or anything else. The most pacman will do is remind you to do these things, as necessary. And sometimes it does not even do that.
    This is why, for example, it is possible to maintain grub.cfg manually in Arch but not in most other distros. Because the system will never, ever run grub-mkconfig unless you tell it to. So a manually maintained configuration file will never be overwritten unless you overwrite it.
    The only boot manager/loader I know of where this is not the case is gummiboot and IMNSHO, that makes the gummiboot package a badly behaved one which fails to properly respect the local customs. (And I won't install gummiboot for essentially this reason.)
    That said, installing grub to a partition is not recommended because it is very easily broken. So I don't think you should do that. I'm just saying that if you did do it, no pacman upgrade would ever write to the MBR. Nor, for that matter, would it update the installation on the partition. It would do zilch to upgrade the actual installation of the boot loader - it would just update the package files in your system.
    Last edited by cfr (2013-11-03 03:15:34)

  • Is it possible to install leopard on another user account on the same computer?

    Is it possible to install leopard on another user account on the same computer?

    I think you mean "partition."
    Petition:
    a formally drawn request, often bearing the names of a number of those making the request, that is addressed to a person or group of persons in authority or power, soliciting some favor, right, mercy, or other benefit: a petition forclemency; a petition for the repeal of an unfair law.

  • I purchased Adobe Acrobat Standard V11 on one user account on one pc.  I want to remove this software and re-install it on another user account on the same pc.  Will this use an extra licence?  I understand this product comes with 2 licences but am hoping

    I purchased Adobe Acrobat Standard V11 on one user account on one pc.
    I want to remove this software and re-install it on another user account on the same pc.
    Will this use an extra licence?
    I understand this product comes with 2 licences but am hoping to retain the extra for another pc.

    My experience (limited) has been to expect it to be installed automatically for all users.
    What seems to be missing on the new user account?

  • Where to install grub

    Please forgive this simple question but in my search for an answer in wikis and other places, I cannot find a straightforward answer (and part of my worry is related to problems installing in this post, where it seems like when the kernel was updated it did so in the wrong place).
    I have the following setup on my Toshiba Portege R500:
    sda1 Windows XP
    sda2 Windows/Toshiba rescue partition
    sda3 share vfat partition
    sda4 extended partition:
    sda5 boot
    sda6 swap
    sda7 /
    When I initially installed arch, I installed it in "/dev/sda", which is what it seemed to me most of the advice said to do (and it was the default as well). After I did pacman -Syu and copied over the new pacman.conf I rebooted but it seems to be booting a 2.6.25 kernel and the system is set up for 2.6.26. I'm giving up and reinstalling.
    So, my question is:
    Should I install grub on "/dev/sda" or "/dev/sda5", and if I can do it on either, what is the advantage of one over the other?

    OK, that's settled. In menu.lst, then, should I have:
    title Arch Linux
    root (hd0,4)
    kernel /boot/vmlinuz26 root=/dev/sda5 ro
    title Windows XP
    rootnoverify (hd0,0)
    makeactive
    chainloader +1

  • Why one Flex mobile app is installed well and another don't on the same cell phone?

    Hi.
    Why TweetDeck app was installed fine in my cell phone but Tour de Mobile Flex don't?
    I think that the two apps should be installed fine because they are installed on the Flex plataform on the same hardware.
    I installed TweetDeck and all go well, but when I try to install Tour de Mobile Flex, I receive the message "This item is not compatible with your device", and I have to abort the installation.
    I don´t understand why. What do you think?
    Cell phone: MT 65xx (H6 Hero)
    Android ver.: 2.2.1

    >this is an old account of my wife that has been cancelled, and I can't change it
    Uninstall... run the Cleaner... Restart your computer... Reinstall using YOUR account
    -http://helpx.adobe.com/creative-cloud/help/install-apps.html (and uninstall)
    -using the cleaner after uninstalling and before reinstalling will usually help
    -http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

  • How to install lion in another partition

    I have a macbook pro with approx. 50gigs remaining on the HD, and I want to install Lion on a separate partition so I can still use my rosetta based apps such as quicken etc.
    What's the best and saftest way for me to go about doing this?
    best,
    Jeffmgr

    Dynamically partition the HD to add the additional volume. If the new one's size is larger than what's used on the boot volume, then use something like Carbon Copy Cloner or SuperDuper! to clone the boot drive to it. Boot with the clone and ensure it works like the original. If so, DL Lion, save a copy to another location, since the dumb app deletes itself when installing, then install Lion onto the clone. If the new volume can't hold the boot drive's contents, then boot with the original, DL Lion, save a copy, install Lion onto the new volume, and, on first boot, use the Setup Assistant to transfer the users folder and apps. You'll have to figure out what you can't migrate. Personally, if you can't do the first, get an ext FWHD and put the clone and Lion onto it.

  • [SOLVED] Formatting and installing windows on another partition

    Hello..
    I'm planning to reformat my Windows XP partition with GParted and install Windows 7 on it instead.
    When I remove the "boot" flag on my /boot partition before doing anything, then format the partition, install Windows 7 on and put the "boot" flag back with GParted live CD, everything should be working fine, shouldn't it?
    Or will formating the Windows partition somehow affect Arch (as I'm accessing it with Arch)?
    Or will Windows bootloader still overwrite Grub, even if I remove the "boot" flag on it?
    Thanks..
    Last edited by Psylver (2011-12-01 18:29:42)

    Thanks.. you were right, but everything worked fine. Took me some time to figure out how to restore Grub as I didn't realize I installed it to a seperate partition.

  • Installing grub

    I have Windows on an IDE HDD, and Arch Linux on a SATA HDD.  The SATA drive is HDD1, which means the IDE drive is HDD0.  Windows was already installed on hdd0.   The original Windows mbr is still intact.
    After installing arch linux, even after reading the tips and hints here, I can't figure out how to install grub.  Main reason I'm asking now is because in my own experience, linux boot records are extremely persistent so I don't want to do something to screw up my Windows install again and run the zero drive test to erase the drive and start over.   This takes alot of time,  and I don't like doing that, so please help!     (I don't mind zeroing the drive later if I want to change system configuration, but I don't want to go through reinstalling another operating system just so I can't back here and yell, "Help!"  lol )
    I came here after reading the line where it wanted me to specify the root, and I knew something was wrong when it auto-detected hd0 partition3.  I'm quite sure that will screw up the Windows drive and arch will still not boot.

    You only need the boot partition if your machine has an older BIOS with the 1024 cylinder limit - ie the bootloader must be within the first 1024 cylinders.  Most machines with the LBA features shouldn't have this problem.  You'll still have a boot directory but within the root partition.
    Replacing the MBR is almost required for a dual boot.  Note that the MBR is not within a partion so it won't blow away the Windows partition.  I say "almost required" since apparently you can configure the Windows boot loader to start other OS's but I've never tried it.
    The MBR holds a "dumb" 512 byte program that knows where the bootloader is, loads it, and then runs it.  The bootloader could be the Win bootloader, LILO, GRUB, the FREEBSD loader, etc.  This lives in the "boot" partition of the OS: so the Win loader lives in the Win partition, GRUB lives in boot or root partition, etc.  The loader may present the user with a menu then starts an OS.
    Windows installs it's own MBR loader which starts the Windows bootloader.  For dual boot you need to replace it with the GRUB MBR loader which will start the GRUB bootloader.  Then with the proper Windows config in the GRUB menu the GRUB bootloader can "chainload" the Windows bootloader - hence the chainloader command - Windows never knows GRUB was even run.
    For simplicity I'd try just a root partition and a swap partition to start out.  So in your case the end result would be:
    MBR: GRUB MBR loader
    part1: windows bootloader & windows
    part6: GRUB bootloader & Arch
    part7: swap
    During installation edit menu.lst and add Windows then allow GRUB to be installed on the MBR.  Note that menu.lst in this case does not describe where to install GRUB but how to start OS's.  GRUB installation is done by the Arch installation so leave the Arch stanza alone.
    Hope that helps.  Good luck.

  • [solved] Cannot complete install, grub fails to boot the new install

    I'm using the 2009.08 USB image.
    I've tried this 2 weeks ago, tried it again today, same result. (I'm on Win7 meanwhile).
    I'm installing arch, everything goes fine.
    I've tried 2 setups:
    a)
    100GB ext4 /
    12GB swap
    (no separate /boot, should work)
    b)
    100MB ext3 /boot
    100GB ext4 /
    12GB swap
    Neither a) or b) will boot.
    When the newly installed grub boots, I get a error saying:
    filesystem type unknown, partition type 0x7
    I get this for the ext3, ext4, and windows partitions.
    I get it for both a) and b) setups.
    I have doublechecked the menu.lst file. I've even created another entry setting root=/dev/sdb1 (as opposed to the default /dev/disks/by-uuid/..).
    I should mention, I have two disks, the first (sda) is currently with a Win7 installation, the 2nd (sdb) is the one I'm trying to install Arch again (and failing).
    After the reboot, I've tried booting into the livecd again and manually trying to mount /dev/sdb1 /mnt, it works.
    Why isn't my grub boothing from ext{3,4}?
    Last edited by Frantic (2009-11-05 18:35:15)

    Rede wrote:
    I was getting that error but after re-installing grub and making some changes to the menu.lst file it was fixed.
    I was able to at one stage boot into arch but it gave problems with the root. Now it just seems to freeze while trying to load grub.
    I am currently trying yet another install of grub. I have been noticing though that my menu.lst file has been rolling back or not updating when I chroot back into my install after changing it earlier.
    Try mounting your /boot partition under /mnt/boot.

  • [solved] Cannot install grub on Arch installation!

    I'm trying to install Arch on my new Laptop. Almost everything works fine until I come to the point where GRUB will be installed (to the MBR). Installaton fails and I'm told to have a look on tty5 for error messages. Doing so I read:
    grub> root (hd0,3)
    Filesystem type unknown, partition type 0x7
    grub> setup (hd0)
    Error 17: Cannot mount selected partition
    grub> quit
    AnyIdeas what I could do?
    By the way, I'm installing the 64Bit Version 0.8 on a computer that currently runs "bad, bad Vista". I'm going to kill Vista anyway, sooner or later, but I wanted to have a try on getting them both on one computer. Might that be a problem?
    Last edited by saciel (2007-06-06 00:31:15)

    The layout preset by the factory is the following:
    sda1: some sort of windows configuration backup blabla
    sda2: Vista System
    then there is roughly one gigabyte of free space then
    sda4: which was a preset ntfs partition for data
    I decided to turn 4 in arch root partition, leaving everyting else unchanged for an instance (no additional swap/boot partition).
    By the way, I tried to install Grub directly on partition 4 (it is an ext3 now), too afterwards, which failed with the same error.
    Last edited by saciel (2007-06-06 00:16:07)

  • Installed Arch on second partition, cannot choose which OS to boot in

    Hello. I setup Arch on a second partition and installed everything and installed grub on my root partition, but when I rebooted the system, I wasnt given a boot menu.. it Just defaulted to windows. Heres my setup:
    /dev/sda1 Windows
    /dev/sda2 Swap
    /dev/sda3 Root
    Now.. I didnt flag Root as bootable and Im thinking thats it.. is it? and there was one other thing.. in my /mnt/boot/grub/menu.lst file.. I edited the windows XP entry as such:
    # Windows XP
    title Windows XP
    rootnoverify (hd0,0)
    chainloader +1
    there was a line "makeactive" inbetweee rootoverify ad chainloader.. that wasnt part of the wiki so i deleted it.. is there something else im missing?

    Did you install GRUB to MBR or a partition? It needs to be in the MBR to work.
    Alternatively, you can use winfailure's boot.ini file to specify that you want to chainload from NTLDR to GRUB, which will work, but you'll need to know exactly where you installed GRUB to do that method.
    Also, you were wise to remove that "makeactive" - that'd set the winfailure partition to bootable, negating GRUB on futher boots.
    Lastly, GRUB doesn't require that disks be made "active" - the GRUB MBR code is "hardwired" with what partition to chainload to, it's a smart little application.
    -dav7

  • Having trouble installing GRUB

    I am running the following command to install GRUB:
    grub-install --target=i386-pc --recheck --debug /dev/sda
    I get the following error:
    grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
    grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
    grub-install: error: will not proceed with blocklists.
    I have 1007 kib free at the beginning of my disk. I thought that was all that was required to install GRUB when I have a GPT disk. Here is how my partitions are laid out:
    http://imgur.com/FyBqzZ7
    /dev/sda1 is Linux Mint
    /dev/sda2 is Windows
    /dev/sda3 is Arch Linux
    Do I have to create another partition and set the boot grub flag manually?

    slithery wrote:
    For BIOS/GPT setups you need to create a BIOS boot partition, you can use the free space you've left at the beginning of your disk for this.
    https://wiki.archlinux.org/index.php/Gr … structions
    I am having trouble using cgdisk to create a 1007 kib partition from that 1007 kib free space.
    I am running the following commands:
    cgdisk /dev/sda
    Then, I select the free space, and press 'New'
    As the first sector, I select '40' (Not sure what this means? Is this bytes from the beginning of the hard drive).
    For the size in sectors, I select the default, '2008'.
    For the type, I type 'ef02' as per the instructions in the link you gave me.
    Unfortunately, it creates a partition of size 1004 kib, and leaves 3 kib free space before it.

  • No Write Access to Songs on another Partition?

    iTunes wont allow me to change tag info on any songs on a different partition to my PC (I recently installed Vista on another partition and im accessing my music from my old XP partition). I have full control access to the files via Windows security and in WMP i can edit the tag.
    What is going on?

    ??? :-P

  • [REINSTALL] moved /var to another partition - now everything is borked

    Ah, I reckon I might  have shot my install
    I was running out of space and seeing that /var took up some 3GB I decided to move it to another partition and adjust the fstab accordingly. It all worked but on reboot hal didn't start. I tried to reinstall it with pacman and now I am told:
    error: database path is undefined
    error: could not register 'core' database (could not open database)
    Am I shot???
    Last edited by toad (2009-04-18 23:15:15)

    All that's in /var/cache/pacman/pkg are packages. You can keep packages if you're afraid something will break and only rolling back to older packages will fix it (which for some people it does), but there are some mirrors out there that update slower than others (so the thing is to pick a mirror that syncs often, so if you really need to downgrade, you can grab the older packages from a slower mirror for example).
    I clean out my package cache periodically. If something breaks and I need to roll back (which happened to me with the bluetooth upgrade) I usually check the web CVS frontend for the PKGBUILDs and rebuild what I need.
    In general, there's no reason to hold on to your cache - and certainly not that big a cache. If you keep it under a GB you should be safe, generally that covers most if not all packages you installed, one version back. You'll have to sift, though.

Maybe you are looking for

  • DispatchKeyEvent propagation error

    Hi, I have a JDialog and there is at a certain moment a child modal JDialog. These 2 dialogs have this code public boolean dispatchKeyEvent(KeyEvent e) switch( e.getKeyCode() ) case KeyEvent.VK_ESCAPE: cancelButton.doClick(); return true; default: re

  • How do I get ppt animation and timings to work in Presenter?

    How do I get ppt animatins and timings to work in Presenter? Same ppt presentation different times each time I use the Publish function.

  • Javascript array ;Add and remove elements without using push and pop

    Hi  I need to perform add and remove  operation in Javascript with following scenarios i) Add element, if element does not exist in array(javascript) ii) Remove element, if element exist in array(javascript) Without using push and pop method how to a

  • SAP BC  XML to RFC

    hi all , I am new to SAP BC connector. I need to configure a scenario to send data from XML to rfc. Please tell the confguration steps to do the same. Yours help will be more appreciated. Thnz Faheem

  • How to manage my photos in Ovi Share?

    Hello, Ovi Sharing - is my choice for my images. I want to share them with people in my phone Contacts. Some issues. 1. How do I move photos from one album to another? Is there any way to do this in bulk - like check off 100 images and move them to a