10-25-2013
Right place to install Linux bootloader
I installed ubuntu on a windows machine, but after restart the computer automatically booted windows without showing me boot option. I think I might have installed my ubuntu bootloader in the wrong partition. I previously have sda1,2,3,5 and 6. I partitioned sda6 into sda6, sda7 and sda8. I mounted / on sda6, swap on sda7, /home on sda8. When choosing where to install bootloader on the bottom, I selected sda6, instead of sda, where my windows bootloader is. I wonder if I should choose that disk? And now how can I repair it? I used a usb to install it. I can lunch ubuntu directly from my usb, so I tried grub-install /dev/sda on the usb lunched version but it displays: cp: cannot create regular file `/boot/grub/915resolution.mod': Permission denied. Don't know what to do.
Btw, in which disk is my ubuntu kernel installed? thanks a lot.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there some place like this unix.com for linux questions? a forum like area to ask questions? I love this site, i've learned a lot (use unix - solaris, and linux - redhat). Unfortunately redhat.com has gotten rid of their support forums, everything is in a list type format and I don't want to... (6 Replies)
Discussion started by: kymberm
6 Replies
2. Solaris
Hi, I'm new to solaris and I have a question about installing solaris 10.
Does solaris during install create a /boot partition?
And if it does, is it possible to set the bootloader on this partition or will it always be on the MBR?
greetz
tony (4 Replies)
Discussion started by: topa
4 Replies
3. Red Hat
Hi,
I have Windows XP and RedHat ES both. Last day I format windows due to problems in it, But now the BootLoader that used to come earlier is not coming. My system is directly booting Windows XP. How can I recover RedHat or what I need to do to get back the BootLoader. So that I can use both... (1 Reply)
Discussion started by: somnathbanerjee
1 Replies
4. UNIX for Advanced & Expert Users
Hello,
I want to find out the best route for setting up a network bootloader where I can have a custom listing of programmable options. Some of the desired options include:
Setting up a linux or windows system via the network
Troubleshooting utilities (like Knoppix) load via the... (2 Replies)
Discussion started by: ckoeber
2 Replies
5. Solaris
Dear Gurus,
I need you to advice or suggestion about the best solution to copy data around 200-300G from serverA(location A) to serverB(location B). Normally, I will share folder and then copy but it takes too long time(about 2 days).
Do you have any suggestion or which way should be... (9 Replies)
Discussion started by: unitipon
9 Replies
6. Boot Loaders
Here is a list of resources for Unix and GNU/Linux bootloaders:
GRUB Legacy: The original GRand Unified Bootloader. Now known as GRUB Legacy.
GRUB: The latest and greatest. More commonly known as GRUB2.
BRUG: Brand-new Universal loadeR from GRUB. Based on GRUB. Adds features like new object... (0 Replies)
Discussion started by: fpmurphy
0 Replies
7. UNIX for Advanced & Expert Users
Hi
On Linux systems there is a command called "column".
column - columnate lists
Synopsis
column -tx] -c columns] -s sep] file ...]
Description
The column utility formats its input into multiple columns. Rows are filled before columns. Input is taken from file operands, or,... (3 Replies)
Discussion started by: slashdotweenie
3 Replies
8. UNIX for Dummies Questions & Answers
hello all,
im new to this site...and look forward to corresponding with you all.
i am a microsoft kid (sad) currently i work on small networks and repair computers for home and business.
i want to better my skill set...but dont want to carry on down the MS route. Basically i want to... (12 Replies)
Discussion started by: j0n1n
12 Replies
9. Ubuntu
I accidently altered my partition table. Somehow I wiped it out completely and changed the disk label. Before I rebooted I managed to rebuild it the way it originally was using the original structure and label however I need to re-install a new bootloader for the new MBR. I have Ubuntu 14.04TLS... (1 Reply)
Discussion started by: project722
1 Replies
LEARN ABOUT CENTOS
grub2-install
GRUB-INSTALL(1) General Commands Manual GRUB-INSTALL(1)
NAME
grub-install -- Install GRUB on a device.
SYNOPSIS
grub-install [--modules=MODULES] [--install-modules=MODULES]
[--themes=THEMES] [--fonts=FONTS] [--locales=LOCALES]
[--compress[=no,xz,gz,lzo]] [-d | --directory=DIR]
[--grub-mkimage=FILE] [--boot-directory=DIR]
[--target=TARGET] [--grub-setup=FILE]
[--grub-mkrelpath=FILE] [--grub-probe=FILE]
[--allow-floppy] [--recheck] [--force] [--force-file-id]
[--disk-module=MODULE] [--no-nvram] [--removable]
[--bootloader-id=ID] [--efi-directory=DIR] INSTALL_DEVICE
DESCRIPTION
grub-install installs GRUB onto a device. This includes copying GRUB images into the target directory (generally /boot/grub), and on some
platforms may also include installing GRUB onto a boot sector.
OPTIONS
--modules=MODULES
Pre-load modules specified by MODULES.
--install-modules=MODULES
Install only MODULES and their dependencies. The default is to install all available modules.
--themes=THEMES
Install THEMES. The default is to install the starfield theme, if available.
--fonts=FONTS
Install FONTS. The default is to install the unicode font.
--locales=LOCALES
Install only locales listed in LOCALES. The default is to install all available locales.
--compress=no,xz,gz,lzo
Compress GRUB files using the specified compression algorithm.
--directory=DIR
Use images and modules in DIR.
--grub-mkimage=FILE
Use FILE as grub-mkimage. The default is /usr/bin/grub-mkimage.
--boot-directory=DIR
Use DIR as the boot directory. The default is /boot. GRUB will put its files in a subdirectory of this directory named grub.
--target=TARGET
Install GRUB for TARGET platform. The default is the platform grub-install is running on.
--grub-setup=FILE
Use FILE as grub-setup. The default is /usr/bin/grub-setup.
--grub-mkrelpath=FILE
Use FILE as grub-mkrelpath. The default is /usr/bin/grub-mkrelpath.
--grub-probe=FILE
Use FILE as grub-probe. The default is /usr/bin/grub-mkrelpath.
--allow-floppy
Make the device also bootable as a floppy. This option is the default for /dev/fdX devices. Some BIOSes will not boot images cre-
ated with this option.
--recheck
Delete any existing device map and create a new one if necessary.
--force
Install even if problems are detected.
--force-file-id
Use identifier file even if UUID is available.
--disk-module=MODULE
Use MODULE for disk access. This allows you to manually specify either biosdisk or native disk access. This option is only avail-
able on the BIOS target platform.
--no-nvram
Do not update the boot-device NVRAM variable. This option is only available on IEEE1275 target platforms.
--removable
Treat the target device as if it is removeable. This option is only available on the EFI target platform.
--bootloader-id=ID
Use ID as the bootloader ID. This opption is only available on the EFI target platform.
--efi-directory=DIR
Use DIR as the EFI System Partition root. This opption is only available on the EFI ta rget platform.
INSTALL_DEVICE
Install GRUB to the block device INSTALL_DEVICE.
SEE ALSO
info grub
Wed Feb 26 2014 GRUB-INSTALL(1)