Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


Using GRUB to control boot order for lucid, hardy n XP


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Using GRUB to control boot order for lucid, hardy n XP

Hi All,

I have 2 portable HDDs - both 500 Gb. I had been booting lucid from a USB HDD1. In my laptop, I have a 100Gb disk - dual boot Windows XP and hardy.

Until now, the boot order allows me to boot into either of these easily.

Today I did these changes:

1. Replicated lucid on HDD1 to HDD2
2. Removed 100Gb disk and put HDD1 inside

Now the boot menu shows lucid, hardy n XP entries. Only lucid entry works, though.

When I try to plug HDD2 and boot from it, system still takes HDD1 for boot. BIOS is configured to check for USB boot before HDD.

So essentially, I'd like to be able to:

a. boot into any of HDD1, HDD2, 100Gb disks; and
b. boot menus for HDD1, HDD2 lucids, 100Gb XP + hardy should come only when their respective boot disks are plugged in.

Please let me know if this is feasible.

Many Thanks,
sunshine
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
How to specify local boot up disk in CD boot Grub?
gjackson123
Hi Solaris 10 Experts, I am wondering what is the correct syntax to edit in Grub when trying to specify the local ZFS boot disk while booting up from a Solaris 10 x86 64bits DVD installation disk. In other word, I try to boot up from local disk without removing the Solaris installation disk...... Solaris
0
Solaris
Ubuntu lucid does not boot after update to 2.6.32.33.
morningSunshine
Hi all, I am using ubuntu 10.04 x64, kernel 2.6.32.32. Yesterday I installed updates to 2.6.32.33 and rebooted the system today. Since then, the system is not booting up and is throwing the following message: Alert /dev/disk/by-uuid/<disk_id_here> does not exist. Dropping to a shell! ...... Ubuntu
0
Ubuntu
grub to boot windows
gaurav1086
Hello, I am using debian-5.0.0(lenny) . I installed windows xp(a hacked version) on a usb stick. this stick works perfectly well and boots off a windows system successfully. but on linux it is finding problems to do so. So I finally decided to put a grub entry to boot off the usb HDD. ...... UNIX for Advanced & Expert Users
8
UNIX for Advanced & Expert Users
linux will not boot, boot to grub prompt
hassan2
my redhat 9 will not boot. We had a power failure and when the power came back, my redhat linux will not boot. The machine come up to grub prompt. I tried the following from grub prompt root (hd0, then press tab key partition num:0 filesystem type unknown, partition type 0x83...... Red Hat
7
Red Hat
Serious GRUB/boot problems
Barfly.se
Hi! I got some serious problems with booting the computer. When started it prints GRUB GRUB GRUB all over the screen. tchan on #grub tried to help me but with no result. Here is the log. Mabey there is something that we have missed?:confused:... UNIX for Dummies Questions & Answers
3
UNIX for Dummies Questions & Answers
installgrub(1M) 														   installgrub(1M)

NAME
installgrub - install GRUB in a disk partition or a floppy
SYNOPSIS
/sbin/installgrub [-fm] stage1 stage2 raw-device The installgrub command is an -only program. GRUB stands for GRand Unified Bootloader. installgrub installs GRUB stage 1 and stage 2 files on the boot area of a disk partition. If you specify the -m option, installgrub installs the stage 1 file on the master boot sector of the disk. The installgrub command accepts the following options: -f Suppresses interaction when overwriting the master boot sector. -m Installs GRUB stage1 on the master boot sector interactively. The installgrub command accepts the following operands: stage1 The name of the GRUB stage 1 file. stage2 The name of the GRUB stage 2 file. raw-device The name of the device onto which GRUB code is to be installed. It must be a character device that is readable and writable. For disk devices, specify the slice where the GRUB menu file is located. (For Solaris it is the root slice.) For a floppy disk, it is /dev/rdiskette. Example 1: Installing GRUB on a Hard Disk Slice The following command installs GRUB on a system where the root slice is c0d0s0: example# /sbin/installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0d0s0 Example 2: Installing GRUB on a Floppy The following command installs GRUB on a formatted floppy: example# mount -F pcfs /dev/diskette /mnt # mkdir -p /mnt/boot/grub # cp /boot/grub/* /mnt/boot/grub # umount /mnt # cd /boot/grub # /sbin/installgrub stage1 stage2 /dev/rdiskette /boot/grub Directory where GRUB files reside. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ boot(1M), fdisk(1M), fmthard(1M), kernel(1M), attributes(5) Installing GRUB on the master boot sector (-m option) overrides any boot manager currently installed on the machine. The system will always boot the GRUB in the Solaris partition regardless of which fdisk partition is active. 24 May 2005 installgrub(1M)

Featured Tech Videos