Sponsored Content
Top Forums UNIX for Dummies Questions & Answers boot loader problem - can't load linux Post 92277 by shx2 on Friday 9th of December 2005 01:07:54 AM
Old 12-09-2005
boot loader problem - can't load linux

Hi
i have both Linux and Windows XP on my PC.
i used to use grub as a boot loader and everything was perfect, until
i reinstalled Windows.
apparently, Windows installer installed its own bootloader, that
doesn't recognize Linux.

i tried using a tool called GrubInstaller for Windows, and now i can
choose to boot either "Windows" or "Grub" OS, but when i choose Grub,
i get a grub-command-line shell, and i don't know how (and don't want)
to use it to load my Linux.

I tried to reinstall Grub using my Redhat installation CD, but on the
screen i should choose the operating system to update (or install a
new one), i choose my Linux installation, press OK, and get an error:

"Error enabling swap device hda6: invalid argument. This most likely
means this swap partition has not been initialized."

so my questions are:
1) how can i make NT boot loader load my Linux installation
2) how can i install Grub from Windows?
3) is the swap-device problem related to this issue? or will i still
have this problem once i get a bootloader to load Linux?

tx in advance
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

boot loader - HELP !!!!

i have installed windows on this c: drive i have linux installed on drive d: when i disconnect d: it boots into c: into windows when i have both drives connected it stops after sys check. how do i get a dual boot goin ???? or a boot loader and if i reinstall linux 7. where should i... (1 Reply)
Discussion started by: perleo
1 Replies

2. UNIX for Dummies Questions & Answers

LILO boot loader installation

What are the ways in which a LILO boot loader can be installed on a Linux system. (0 Replies)
Discussion started by: tjay83
0 Replies

3. UNIX for Dummies Questions & Answers

About MBR,Boot Loader programe.

Hi all, I am newbie here.I want to know what is MBR,boot loader & boot strap programe. What is procedure of loading OS in to memory. Thanx in advance:) (1 Reply)
Discussion started by: vishwasrao
1 Replies

4. UNIX and Linux Applications

using vivi as a boot loader for s3c2410

Hi all, I am very new to arm and embedded architecture. I am using s3c2410 board and using vivi to create a boot loader, I am following all the steps and getting the vivi image successfully without any error, but when i port it to arm i donot get anything thing displayed on minicom, can... (0 Replies)
Discussion started by: niranjanvg
0 Replies

5. UNIX for Advanced & Expert Users

Making one binary image containing boot loader and linux

Hi, I want to have one binary image that contains both my boot loader as well as the OS(linux) image at pre defined offsets which i can use to program flash . Can anyone help in this direction? Regards Subrata (0 Replies)
Discussion started by: subratasaharia
0 Replies

6. Solaris

GRUB does not load Ms Winows loader

Hi to everyone ;) Yesterday I had to reinstall my dual boot because my bank smart card reader does not work with Solaris so I reinstalled Solaris after I installed Windows 7. When I turn on PC I get grub stage 2 and Solaris has made an entry in menu.lst but does not boot windows . Each OS... (4 Replies)
Discussion started by: solaris_user
4 Replies

7. UNIX for Dummies Questions & Answers

Boot loader problem

Hi, I have installed pre Vista windows and Redhat in my PC. Recently I have installed windowsXP for install weblogic server, but after installing XP it is not showing Redhat linux. At booting time it is showing only XP and pre Vista. Can you please help me how get my Redhat back. Thanks in... (1 Reply)
Discussion started by: sarfraz
1 Replies

8. UNIX for Dummies Questions & Answers

Boot loader problem

Hi, I have installed pre Vista windows and Redhat in my PC. Recently I have installed windowsXP for install weblogic server, but after installing XP it is not showing Redhat linux. At booting time it is showing only XP and pre Vista. Can you please help me how get my Redhat back. Thanks in... (1 Reply)
Discussion started by: sarfraz
1 Replies

9. UNIX for Advanced & Expert Users

Changing Ubuntu 10.4 Boot Loader Option

Hi, I am using Ubuntu 10.4 and I want to change the boot loader option to boot Windows 7 by default. Every time I update Ubuntu some extra lines appears at the boot menu. I want to remove them also. Please help me (1 Reply)
Discussion started by: dearanik
1 Replies

10. Homework & Coursework Questions

Write a shell script for SQL loader to load data into a staging table

Hi, I'm new to Linux. I'm working on a database, and need to load data in a database table (which I already created) using shell script. The table has two columns - Acct_number (not nullable) and date (timestamp). I'm not able to write a shell script for that. Can any one help me? ... (3 Replies)
Discussion started by: saisudeep
3 Replies
GRUB-INSTALL(8) 					  System Administration Utilities					   GRUB-INSTALL(8)

NAME
grub-install - install GRUB to a device SYNOPSIS
grub-install [OPTION...] [OPTION] [INSTALL_DEVICE] DESCRIPTION
Install GRUB on your drive. --compress=no|xz|gz|lzo compress GRUB files [optional] -d, --directory=DIR use images and modules under DIR [default=/usr/lib/grub/<platform>] --fonts=FONTS install FONTS [default=unicode] --install-modules=MODULES install only MODULES and their dependencies [default=all] -k, --pubkey=FILE embed FILE as public key for signature checking --locale-directory=DIR use translations under DIR [default=/usr/share/locale] --locales=LOCALES install only LOCALES [default=all] --modules=MODULES pre-load specified modules MODULES --themes=THEMES install THEMES [default=starfield] -v, --verbose print verbose messages. --allow-floppy make the drive also bootable as floppy (default for fdX devices). May break on some BIOSes. --auto-nvram only update NVRAM variables if possible. This option is only available on EFI and IEEE1275 targets. --boot-directory=DIR install GRUB images under the directory DIR/grub instead of the boot/grub directory --bootloader-id=ID the ID of bootloader. This option is only available on EFI and Macs. --core-compress=xz|none|auto choose the compression to use for core image --disk-module=MODULE disk module to use (biosdisk or native). This option is only available on BIOS target. --efi-directory=DIR use DIR as the EFI System Partition root. --force install even if problems are detected --force-file-id use identifier file even if UUID is available --label-bgcolor=COLOR use COLOR for label background --label-color=COLOR use COLOR for label --label-font=FILE use FILE as font for label --macppc-directory=DIR use DIR for PPC MAC install. --no-bootsector do not install bootsector --no-extra-removable Do not install bootloader code to the removable media path. This option is only available on EFI. --no-nvram don't update the `boot-device'/`Boot*' NVRAM variables. This option is only available on EFI and IEEE1275 targets. --no-rs-codes Do not apply any reed-solomon codes when embedding core.img. This option is only available on x86 BIOS targets. --no-uefi-secure-boot do not install an image usable with UEFI Secure Boot, even if the system was currently started using it. This option is only avail- able on EFI. --product-version=STRING use STRING as product version --recheck delete device map if it already exists --removable the installation device is removable. This option is only available on EFI. -s, --skip-fs-probe do not probe for filesystems in DEVICE Usage: grub-install [OPTION...] [OPTION] [INSTALL_DEVICE] Install GRUB on your drive. --compress=no|xz|gz|lzo compress GRUB files [optional] -d, --directory=DIR use images and modules under DIR [default=/usr/lib/grub/<platform>] --fonts=FONTS install FONTS [default=unicode] --install-modules=MODULES install only MODULES and their dependencies [default=all] -k, --pubkey=FILE embed FILE as public key for signature checking --locale-directory=DIR use translations under DIR [default=/usr/share/locale] --locales=LOCALES install only LOCALES [default=all] --modules=MODULES pre-load specified modules MODULES --themes=THEMES install THEMES [default=starfield] -v, --verbose print verbose messages. --allow-floppy make the drive also bootable as floppy (default for fdX devices). May break on some BIOSes. --auto-nvram only update NVRAM variables if possible. This option is only available on EFI and IEEE1275 targets. --boot-directory=DIR install GRUB images under the directory DIR/grub instead of the boot/grub directory --bootloader-id=ID the ID of bootloader. This option is only available on EFI and Macs. --core-compress=xz|none|auto choose the compression to use for core image --disk-module=MODULE disk module to use (biosdisk or native). This option is only available on BIOS target. --efi-directory=DIR use DIR as the EFI System Partition root. --force install even if problems are detected --force-file-id use identifier file even if UUID is available --label-bgcolor=COLOR use COLOR for label background --label-color=COLOR use COLOR for label --label-font=FILE use FILE as font for label --macppc-directory=DIR use DIR for PPC MAC install. --no-bootsector do not install bootsector --no-extra-removable Do not install bootloader code to the removable media path. This option is only available on EFI. --no-nvram don't update the `boot-device'/`Boot*' NVRAM variables. This option is only available on EFI and IEEE1275 targets. --no-rs-codes Do not apply any reed-solomon codes when embedding core.img. This option is only available on x86 BIOS targets. --no-uefi-secure-boot do not install an image usable with UEFI Secure Boot, even if the system was currently started using it. This option is only avail- able on EFI. --product-version=STRING use STRING as product version --recheck delete device map if it already exists --removable the installation device is removable. This option is only available on EFI. -s, --skip-fs-probe do not probe for filesystems in DEVICE --target=TARGET install GRUB for TARGET platform [default=i386-pc]; available targets: arm-efi, arm-uboot, arm64-efi, i386-coreboot, i386-efi, i386-ieee1275, i386-multiboot, i386-pc, i386-qemu, i386-xen, ia64-efi, mips-arc, mips-qemu_mips, mipsel-arc, mipsel-loongson, mipsel-qemu_mips, powerpc-ieee1275, sparc64-ieee1275, x86_64-efi, x86_64-xen --uefi-secure-boot install an image usable with UEFI Secure Boot. This option is only available on EFI and if the grub-efi-amd64-signed package is installed. -?, --help give this help list --usage give a short usage message -V, --version print program version Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. INSTALL_DEVICE must be system device filename. grub-install copies GRUB images into boot/grub. On some platforms, it may also install GRUB into the boot sector. REPORTING BUGS
Report bugs to <bug-grub@gnu.org>. SEE ALSO
grub-mkconfig(8), grub-mkimage(1), grub-mkrescue(1) The full documentation for grub-install is maintained as a Texinfo manual. If the info and grub-install programs are properly installed at your site, the command info grub-install should give you access to the complete manual. grub-install (GRUB) 2.02-2ubuntu8.3 July 2018 GRUB-INSTALL(8)
All times are GMT -4. The time now is 09:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy