Sponsored Content
Full Discussion: Grub Issues ; Prominent.
Special Forums Hardware Boot Loaders Grub Issues ; Prominent. Post 302552588 by theKbStockpiler on Sunday 4th of September 2011 07:37:22 PM
Old 09-04-2011
Grub Issues ; Prominent.

I have not switched to lilo yet but it might happen.


Grub will only boot a different O.S than the one that installed it if it is chainloaded. If you manually add a O.S entry in the menu.lst file all that happens is the Title ends up in the boot screen text. Error 17 is displayed after trying to boot.

Grub will not boot ANY O.S manually using the grub shell.

I'm not using a volume to boot from.


Any ideas? Smilie

Thanks in advance!
 

10 More Discussions You Might Find Interesting

1. Linux

GRUB and windows XP

After playing a bit with GRUB I got it to boot my windows XP and my Fedora (yeay!). But now my windows became awfully slow (hd seems to be the problem). Does anybody have an idea what could cause this? settings: default=1 timeout=10 splashimage=(hd1,0)/grub/splash.xpm.gz title Fedora... (1 Reply)
Discussion started by: Micky
1 Replies

2. Linux

Remove GRUB

hello i just uninstall fedora core 4 and would like to remove the GRUB from my system. i try to use windows xp startup disk and tryout the fixmbr command. however the system warn me that my computer do not have a proper mbr and performing this action may make all partition in my harddisk... (5 Replies)
Discussion started by: wsc
5 Replies

3. Linux

grub help

in dual os grub will ask like this (linux 9 (red hat)) linux(bigmem) linux(smallmem) dos so i want that grub will ask like this dos linux(bigmem) linux(smallmem) how to do this (8 Replies)
Discussion started by: seshumohan
8 Replies

4. UNIX for Dummies Questions & Answers

grub problem- keeps rebooting as soon as it tries to do grub

Hi, I installed solaris 10 a few weeks ago. It was working fine during the past two weeks. However, now when I start to load to the drive, I get this problem: The BIOS screen comes up like normal, then screen goes blank and a message "Grub loading stage 2" flashes real quick then the computer... (1 Reply)
Discussion started by: moesays
1 Replies

5. Linux

Grub.Conf

Hi, During the Initial startup of the Linux machine. Grub.conf has a entry to mount the root partition as read only after the initialistation of the Kernel. Is there any specific reason for this or the root partition can be made to mounted with read write options. Regards Arun (1 Reply)
Discussion started by: Arun.Kakarla
1 Replies

6. Solaris

grub problem

hi , was using solaris in dual boot with xp , then I ' ve installed ubuntu too . The solaris grub has been in some way damaged , maybe because during the linux installation i've delete an old partition that I was not using by some months. It's normal that the solaris grub has been overriden by... (7 Replies)
Discussion started by: freeware
7 Replies

7. Red Hat

Can we specify which grub.conf to use in grub-install.

Hi, Can we specify which grub.conf to use while installing grub on RHEL. We are working on application which requires different grub configurations needed, depending on certain criteria we need to update grub with correct grub.conf. Can we use grub-install for this purpose? (4 Replies)
Discussion started by: successlin
4 Replies

8. UNIX for Dummies Questions & Answers

"/boot/grub/grub.conf" VS "/etc/grub.conf"

can someone please explain me the difference between these two files: "/boot/grub/grub.conf" and "/etc/grub.conf" .. (7 Replies)
Discussion started by: stunn3r
7 Replies

9. Debian

Cannot install GRUB

Hello, I cannot install grub to my ESP it seems. I have a PC with both Windows 8.1 and Debian installed and I can only boot into Windows since GRUB is not installed on my PC. I am using a Ubuntu Live USB to install GRUB on /dev/sda1 (my ESP). I am using the following commands from Ubuntu... (12 Replies)
Discussion started by: sreyan32
12 Replies

10. Linux

Grub password

what if grub had a password and prevented you from getting in, what should I do, regards (2 Replies)
Discussion started by: abbya
2 Replies
Bootloader::Tools(3)					User Contributed Perl Documentation				      Bootloader::Tools(3)

NAME
Bootloader::Tools - set of high-level bootloader configuration functions PREFACE
This package contains a set of high-level bootloader configuration functions SYNOPSIS
"use Bootloader::Tools;" "$mp_ref = Bootloader::Tools::ReadMountPoints ();" "$part_ref = Bootloader::Tools::ReadPartitions ();" "$numDM = Bootloader::Tools::DMRaidAvailable ();" "$part_ref = Bootloader::Tools::ReadDMRaidPartitions ();" "$part_ref = Bootloader::Tools::ReadDMRaidDisks ();" "Bootloader::Tools::IsDMRaidSlave ($kernel_disk);" "Bootloader::Tools::IsDMDevice($dev);" "$md_ref = Bootloader::Tools::ReadRAID1Arrays ();" "$loader = Bootloader::Tools::GetBootloader ();" "$value = Bootloader::Tools::GetSysconfigValue ();" "Bootloader::Tools::InitLibrary ();" "Bootloader::Tools::CountImageSections ($image);" "Bootloader::Tools::RemoveImageSections ($image);" "Bootloader::Tools::GetSystemLanguage ();" "Bootloader::Tools::GetDefaultSection ();" "Bootloader::Tools::GetDefaultImage ();" "Bootloader::Tools::GetDefaultInitrd ();" "Bootloader::Tools::GetGlobals();" "Bootloader::Tools::SetGlobals(@params);" "Bootloader::Tools::GetSectionList(@selectors);" "Bootloader::Tools::GetSection($name);" "Bootloader::Tools::AddSection($name, @params);" "Bootloader::Tools::RemoveSections($name);" "Bootloader::Tools::AdjustSectionNameAppendix ($mode, $sect_ref_new, $sect_ref_old);" "$exec_with_path = Bootloader::Tools::AddPathToExecutable($executable);" DESCRIPTION
"$mp_ref = Bootloader::Tools::ReadMountPoints ();" reads the information about mountpoints in the system. The returned data is needed to initialize the bootloader library properly. See InitLibrary function for example. "$part_ref = Bootloader::Tools::ReadPartitions ();" reads the information about disk partitions. This data is needed to initialize the bootloader library properly. See InitLibrary function for example. "Bootloader::Tools::GetMultipath ();" Gets multipath configuration. Return reference to hash map, empty if system doesn't contain multipath. "Bootloader::Tools::GetMultipath ();" Gets multipath configuration. Return reference to hash map, empty if system doesn't contain multipath. "$numDM = Bootloader::Tools::DMRaidAvailable ();" Tests wether DMRAID is available. Return 0 if no device, 1 if there are any. "$part_ref = Bootloader::Tools::ReadDMRaidPartitions ();" reads partitions belonging to a Devicemapper RAID device. needed to be able to put get the correct translation into Grub notation DMRaid Devices look like: <strange name> DMRaid Partitions look like: <strange name>_partd "$part_ref = Bootloader::Tools::ReadDMRaidDisks ();" returns a refenrence to a list of DMRaid devices "Bootloader::Tools::IsDMRaidSlave ($kernel_disk);" checks wether a kernel_device is part of a DMRAID returns 1 if yes, 0 if no "Bootloader::Tools:IsDMDevice ($device);" returns 1 if $device is a Devicemapper device, otherwise 0. "$md_ref = Bootloader::Tools::ReadRAID1Arrays ();" reads the information about disk MD RAID1 arrays. This data is needed to initialize the bootloader library properly. "$loader = Bootloader::Tools::GetBootloader ();" returns the used bootloader. Reads the value from sysconfig. Returns the string - bootloader type. See InitLibrary function for example. "$value = Bootloader::Tools::GetSysconfigValue ();" returns specified option from the /etc/sysconfig/bootloader file or undef if variable is not set. See AddSection for example "Bootloader::Tools::InitLibrary ();" initializes the bootloader configuration library. Fills its internal structures needed for it to run properly. "Bootloader::Tools::CountImageSections ($image);" counts sections in the bootolader menu reffering to the specified kernel. EXAMPLE: Bootloader::Tools::InitLibrary(); my $count = Bootloader::Tools::CountImageSections ("/boot/vmlinuz-2.6.11"); print "Sections: $count "; "Bootloader::Tools::CountSections (@selections);" # FIXME: add documentation "Bootloader::Tools::UpdateBootloader ();" Updates the bootloader settings meaning do whatever it takes for the actual bootloader to use the current configuration "$lang = Bootloader::Tools::GetSystemLanguage ();" Read the System Language from /etc/sysconfig/language:RC_LANG EXAMPLE: my $Lang; $Lang = Bootloader::Tools::GetSystemLanguage (); setlocale(LC_MESSAGES, $Lang); "%defaultSelection = Bootloader::Tools::GetDefaultSection ();" Get the default section, returns a hash reference EXAMPLE: my %section; %section = Bootloader::Tools::GetDefaultSection (); my $default_kernel = $section{"image"}; "Bootloader::Tools::GetDefaultImage ();" Get the kernel name of the default section EXAMPLE: my $kernel; $kernel = Bootloader::Tools::GetDefaultImage (); print("Default Kernel Name: $kernel "); "Bootloader::Tools::GetDefaultInitrd ();" Get the initrd of the default section EXAMPLE: my $initrd; $initrd = Bootloader::Tools::GetDefaultInitrd (); print("Default initrd Name: $initrd "); "Bootloader::Tools::GetGlobals();" "Bootloader::Tools::SetGlobals(@params);" # FIXME: Add documentation "Bootloader::Tools::GetSectionList(@selectors);" # FIXME: Add documentation "Bootloader::Tools::GetSection($name);" # FIXME: Add documentation "Bootloader::Tools::AddSection($name, @params);" Add a new section (boot entry) to config file, e.g. to /boot/grub/menu.lst EXAMPLE: my $opt_name = "LabelOfSection"; my @params = (type => $type, image => $opt_image, initrd => $opt_initrd, ); Bootloader::Tools::AddSection ($opt_name, @params); "Bootloader::Tools::RemoveImageSections ($image);" removes all sections in the bootloader menu referring to the specified kernel. EXAMPLE: Bootloader::Tools::InitLibrary (); Bootloader::Tools::RemoveImageSections ("/boot/vmlinuz-2.6.11"); Bootloader::Tools::UpdateBootloader(); "Bootloader::Tools::RemoveSections($name);" "Bootloader::Tools::AdjustSectionNameAppendix ($mode, $sect_ref_new, $sect_ref_old);" Adds and respectively removes a potential appendix of a section name. In case of mode "add", it adjusts labels which only differ in their corresponding flavors in the following way, e.g.: SUSE Linux Enterprise Server 10 - 2.6.16.54-0.2.3 (default) and SUSE Linux Enterprise Server 10 - 2.6.16.54-0.2.3 (smp) Thus, the corresponding flavors will be appended in brackets. In case of mode "remove", an appended flavor will be removed from the section label if the corresponding section is the only one left referring to a kernel with it's specific version. EXAMPLE: my $mode = "add"; my $sect_ref_new = \%new_section; Bootloader::Tools::AdjustSectionNameAppendix ($mode, $sect_ref_new); or my $mode = "remove" my $sect_ref_new = @section_naems_after_removal; my $sect_ref_old = @section_names_before_removal; Bootloader::Tools::AdjustSectionNameAppendix ($mode, $sect_ref_new, $sect_ref_old); "Bootloader::Tools::AddPathToExecutable ($executable);" Prepends the corresponding (absolute) path to the given executable and returns the result. If not found in path, function returns undef. EXAMPLE: my $executable = "dmsetup"; my $exec_with_path = Bootloader::Tools::AddPathToExecutable ($executable); if (-e $exec_with_path) { print ("The desired executable is located here: $exec_with_path"); } perl v5.12.1 2010-05-25 Bootloader::Tools(3)
All times are GMT -4. The time now is 12:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy