Sponsored Content
Full Discussion: Dual Boot problem,help!!!!
Top Forums UNIX for Dummies Questions & Answers Dual Boot problem,help!!!! Post 12214 by ghoti on Friday 21st of December 2001 07:49:42 AM
Old 12-21-2001
Merv,

When you edit the /etc/lilo.conf file, make sure you do it as root, also, depending on the editor you are using, you may have to force a write.

In vi, you can do this by putting a '!' at the end of the command, so to force a write, and then quit, you use the 'wq!' command.

This should help, and in my experience editing lilo and getting the XP partition to boot again by this method is the easiest if you cannot do a repair from the XP disk, any other version of windows will only corrupt XP.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

problem in dual boot

i want to know how do i make my system a dual boot system for Linux 7.1 and Windows Nt 4.0 :( :confused: :confused: (2 Replies)
Discussion started by: mad2life
2 Replies

2. UNIX for Dummies Questions & Answers

Dual boot no more

Ok I had a windows and RH dual boot system and have now converted over completly to the linux system. How do I regain the other half of my drive? I cannot see it in the disk manager. what do I do to format so that i can mount it? (1 Reply)
Discussion started by: macdonto
1 Replies

3. UNIX for Dummies Questions & Answers

Dual Boot help...

Hi there! I have a laptop which I plan on installing a dual boot on with Windows and Linux. I have Windows 98 installed at the moment, and I also have a copy of Slackware 8. I talked to friend, and he said he had some problems installing a dual boot with linux on his laptop... So I just came... (2 Replies)
Discussion started by: satan404
2 Replies

4. UNIX for Advanced & Expert Users

Dual Boot on HP-UX

Hy all Does anyone have Info on how to make a dual boot HP UX 10-20 HP UX 11 on a server ? Thanks in advance Olivier (3 Replies)
Discussion started by: Olivier
3 Replies

5. UNIX for Advanced & Expert Users

Dual boot problem

Hi All, I have a pc loaded with windows 2000 professional. Recently added new disk of size 80GB and installed redhat linux to second disk. Now system is booting to linux but not to windows 2000. How to configure for dual boot. Thanks in advance - Bache Gowda (3 Replies)
Discussion started by: bache_gowda
3 Replies

6. UNIX for Dummies Questions & Answers

another dual boot question/problem

Well, I formatted my entire harddrive (40gig), partitioned it into three partitions, FAT32 for WindowsXP (30 gig), Linux ext3 (7gig), and Linux swap (about 500mb). All this with PartitionMagic 8.0 and it took hours. After all that, I installed the "publishers version" of Red Hat with ease. I was on... (12 Replies)
Discussion started by: chutt
12 Replies

7. Solaris

Windows / Open Solaris dual boot problem.

Okay, let me sketch the problem. I did have a ubuntu / Windows XP dual boot scenario that ran grub as my boot loader. I decided I wanted to try out solaris, so I popped in the opensolaris CD and hit install and told it to format and install over my linux partition. Of course it did that, and... (2 Replies)
Discussion started by: syndex
2 Replies

8. UNIX for Dummies Questions & Answers

Problem setting up dual boot

Hi, I am trying to set up a dual boot system with Red Hat EL 5.2 and Windows XP Pro. I have a separate disk for each OS. Grub is on the same disk as redhat(the primary disk). I know that Windows is installed correctly because if I force a load on the secondary disk Windows loads correctly.... (0 Replies)
Discussion started by: adawg1217
0 Replies

9. Red Hat

Dual Boot Problem - Vista & Redhat -Incorrect BIOS geometry

Hi Folks, Initially I had vista and redhat 9 .. due to some reasons i had to re instal my vista again.. since then the dual boot menu disappeared.. i tried to re install redhat and changing the boot configuration of redhat 9 but i am not getting both the OS back .. I am not aboe to boot linux... (2 Replies)
Discussion started by: subhotech
2 Replies

10. Emergency UNIX and Linux Support

Dual boot

Hi, I am having 1 TB hard disk and in that I have to install windows,linux 64 bit and linux 32 bit total 3 operating systems I need to install, how could I do that please help. I am having 64 bit machine h/w Thanks, Trimurtulu (5 Replies)
Discussion started by: ktrimu
5 Replies
GRUBBY(8)						      System Manager's Manual							 GRUBBY(8)

NAME
grubby - command line tool for configuring grub, lilo, and elilo SYNOPSIS
grubby [--add-kernel=kernel-path] [--args=args] [--bad-image-okay] [--boot-filesystem=bootfs] [--bootloader-probe] [--config-file path] [--copy-default] [--default-kernel] [--grub] [--info=kernel-path] [--initrd=initrd-path] [--lilo] [--make-default] [-o path] [--remove-kernel=kernel-path] [--set-default=kernel-path] [--title=entry-title] DESCRIPTION
grubby is a command line tool for updating and displaying information about the configuration files for the grub, lilo, elilo (ia64), and yaboot (powerpc) boot loaders. It is primarily designed to be used from scripts which install new kernels and need to find information about the current boot environment. On Intel x86 platforms, grub is the default bootloader and the configuration file is in /boot/grub/grub.conf. On Intel ia64 platforms, elilo mode is used and the default location for the configuration file is /boot/grub/grub.conf. On PowerPC platforms, yaboot parsing is used and the configuration file should be in /etc/yaboot.conf. There are a number of ways to specify the kernel used for --info, --remove-kernel, and --update-kernel. Specificying DEFAULT or ALL selects the default entry and all of the entries, respectively. If a comma separated list of numbers is given, the boot entries indexed by those numbers are selected. Finally, the title of a boot entry may be specified by using TITLE=title as the argument; all entries with that title are used. OPTIONS
--add-kernel=kernel-path Add a new boot entry for the kernel located at kernel-path. --args=kernel-args When a new kernel is added, this specifies the command line arguments which should be passed to the kernel by default (note they are merged with the arguments from the template if --copy-default is used). When --update-kernel is used, this specifies new arguments to add to the argument list. Multiple, space separated arguments may be used. If an argument already exists the new value replaces the old values. The root= kernel argument gets special handling if the configuration file has special handling for specifying the root filesystem (like lilo.conf does). --bad-image-okay When grubby is looking for a entry to use for something (such as a template or a default boot entry) it uses sanity checks, such as ensuring that the kernel exists in the filesystem, to make sure entries that obviously won't work aren't selected. This option over- rides that behavior, and is designed primarily for testing. --boot-filesystem=bootfs The grub boot loader expects file paths listed in it's configuration path to be relative to the top of the filesystem they are on, rather then relative to the current root filesystem. By default grubby searches the list of currently mounted filesystems to deter- mine this. If this option is given grubby acts as if the specified filesystem was the filesystem containing the kernel (this option is designed primarily for testing). --bootloader-probe grubby tries to determine if grub or lilo is currently installed. When one of those bootloaders is found the name of that bootloader is displayed on stdout. Both could be installed (on different devices), and grubby will print out the names of both bootloaders, one per line. The probe for grub requires a commented out boot directive grub.conf identical to the standard directive in the lilo configuration file. If this is not present grubby will assume grub is not installed (note that anaconda places this directive in grub.conf files it creates). This option is only available on ia32 platforms. --config-file=path Use path as the configuration file rather then the default. --copy-default grubby will copy as much information (such as kernel arguments and root device) as possible from the current default kernel. The kernel path and initrd path will never be copied. --default-kernel Display the full path to the current default kernel and exit. --elilo Use an elilo style configuration file. --grub Use a grub style configuration file instead of lilo style. This is the default on ia32 platforms. --info=kernel-path Display information on all boot entries which match kernel-path. I --initrd=initrd-path Use initrd-path as the path to an initial ram disk for a new kernel being added. --lilo Use a lilo style configuration file. --make-default Make the new kernel entry being added the default entry. --remove-args=kernel-args The arguments specified by kernel-args are removed from the kernels specified by --update-kernel. The root argument gets special handling for configuration files that support separate root filesystem configuration. --remove-kernel=kernel-path Removes all boot entries which match kernel-path. This may be used along with --add-kernel, in which case the new kernel being added will never be removed. --set-default=kernel-path The first entry which boots the specified kernel is made the default boot entry. --title=entry-title When a new kernel entry is added entry-title is used as the title (lilo label) for the entry. If entry-title is longer then maximum length allowed by the bootloader (15 for lilo, unlimited for grub and elilo) the title is shortened to a (unique) entry. --update-kernel=kernel-path The entries for kernels matching kernel-path are updated. Currently the only items that can be updated is the kernel argument list, which is modified via the --args and --remove-args options. --version Display the version of grubby being run and then exit immediately. --yaboot Use an yaboot style configuration file. BUGS
The command line syntax is more then a little baroque. This probably won't be fixed as grubby is only intended to be called from shell scripts which can get it right. SEE ALSO
grub(8), lilo(8), yaboot(8), mkinitrd(8) AUTHOR
Erik Troan <ewt@redhat.com> 4th Berkeley Distribution Thu Jun 21 2002 GRUBBY(8)
All times are GMT -4. The time now is 05:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy