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
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
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
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
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
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
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
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
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
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
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
BOOTCTL(1) bootctl BOOTCTL(1)
NAME
bootctl - Control the firmware and boot manager settings
SYNOPSIS
bootctl [OPTIONS...] status
bootctl [OPTIONS...] list
bootctl [OPTIONS...] update
bootctl [OPTIONS...] install
bootctl [OPTIONS...] remove
DESCRIPTION
bootctl checks, updates, installs or removes the boot loader from the current system.
bootctl status checks and prints the currently installed versions of the boot loader binaries and all current EFI boot variables.
bootctl list displays all configured boot loader entries.
bootctl update updates all installed versions of systemd-boot, if the current version is newer than the version installed in the EFI system
partition. This also includes the EFI default/fallback loader at /EFI/BOOT/BOOT*.EFI. A systemd-boot entry in the EFI boot variables is
created if there is no current entry. The created entry will be added to the end of the boot order list.
bootctl install installs systemd-boot into the EFI system partition. A copy of systemd-boot will be stored as the EFI default/fallback
loader at /EFI/BOOT/BOOT*.EFI. A systemd-boot entry in the EFI boot variables is created and added to the top of the boot order list.
bootctl remove removes all installed versions of systemd-boot from the EFI system partition, and removes systemd-boot from the EFI boot
variables.
If no command is passed, status is implied.
OPTIONS
The following options are understood:
-h, --help
Print a short help text and exit.
--version
Print a short version string and exit.
--path=
Path to the EFI System Partition (ESP). If not specified, /efi, /boot, and /boot/efi are checked in turn. It is recommended to mount
the ESP to /boot, if possible.
-p, --print-path
This option modifies the behaviour of status. Just print the path to the EFI System Partition (ESP) to standard output and exit.
--no-variables
Do not touch the EFI boot variables.
EXIT STATUS
On success, 0 is returned, a non-zero failure code otherwise.
SEE ALSO
Boot loader specification[1] systemd boot loader interface[2]
NOTES
1. Boot loader specification
https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
2. systemd boot loader interface
https://www.freedesktop.org/wiki/Software/systemd/BootLoaderInterface
systemd 237 BOOTCTL(1)