Results 1 to 10 of 24
I am wanting to duel boot a machine with Win XP. I have one hdd with Win XP already installed and running on it, I have a seperate hdd with ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-05-2007 #1
Duel Boot
I am wanting to duel boot a machine with Win XP. I have one hdd with Win XP already installed and running on it, I have a seperate hdd with Freespire 1.0.13 on it up and running. Question is, can I just plug both hdd's in and the grub menu will detect it, or do I need to change something inside Freespire first to detect a duel boot hdd? My Linux skills are minimal, please keep that in mind.
- 07-05-2007 #2
you have to edit menu.lst and device.map files.
plug-in FreeSpire disk as Primary and Windows Disk as Secondary ( slave ).
FreeSpire will boot up on switching on the machine.
open /boot/grub/menu.lst file and add this code at the end of file:
save file and open /boot/grub/device.map file.Code:title Windows XP rootnoverify (hd1,0) map (hd0) (hd1) map (hd1) (hd0) chainloader +1
add this line
if your harddisks are SATA, replace hdb with sdb.Code:(hd1) /dev/hdb
reboot machine.
*you must have root privileges to edit those files.
in case, it doesn't work, plug-in both disks, execute 'fdisk -l' command and post output here.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 07-05-2007 #3
Will try that tonight when I get home. Thanks for the speedy response. Will post results when I have them.
- 07-05-2007 #4
if i may tag onto this one, what do these lines do?
Code:map (hd0) (hd1) map (hd1) (hd0)" I didn't know it was a picture of his wife! I thought it was a publicity shot form Planet Of the Apes."
- 07-06-2007 #5
Here is the output of fdisk -l
I added the code from DC to my menu.lst and also to device.map. I saved both files and rebooted. The grub menu does not show my Win XP disk as bootable (i.e. no selection to boot to). I re-opened device.map and the added code is no longer there. Do I need to sudo mount before rebooting? If so, how? I forgot the commandkgreer@Freespire:~$ fdisk -l
Disk /dev/hda: 10.0 GB, 10005037056 bytes
16 heads, 63 sectors/track, 19386 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 19386 9770512+ 83 Linux
Disk /dev/hdb: 40.0 GB, 40000000000 bytes
255 heads, 63 sectors/track, 4863 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 5 40131 de Dell Utility
/dev/hdb2 * 6 4405 35343000 7 HPFS/NTFS
/dev/hdb3 4406 4862 3670852+ db CP/M / CTOS / ...
kgreer@Freespire:~$
.
Here is the menu.lst:
and device.map:# Generated by jiffyboot version 9.1. If this file is edited, the
# system will stop modifying it. To allow the system to resume
# management of this file, remove it and run /sbin/jiffyboot
default=0
timeout=0
fallback
title hidden
configfile (hd0,0)/boot/grub/menu-normal.lst
title Windows XP
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
(hd0) /dev/hda
(hd1) /dev/hdb
- 07-06-2007 #6FreeSpire is using jiffyboot utility to auto-generate menu.lst file. we have to replace menu-normal.lst file with menu.lst.# Generated by jiffyboot version 9.1. If this file is edited, the
# system will stop modifying it. To allow the system to resume
# management of this file, remove it and run /sbin/jiffyboot
post the contents of /boot/grub/menu-normal.lst file.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 07-06-2007 #7
Windows Boot Loader must be installed in the MBR of Primary Harddisk OR Boot Sector of Primary Partition of Primary Harddisk. we are plugging Windows OS' Harddisk as Secondary. Windows OS will complain coz of that and wont boot. mapping code is cheat code. with mapping, Windows Boot Loader assume that its in Primary Harddisk.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 07-09-2007 #8
Sorry for the delay...I was away from computer for the weekend. Here is the menu-normal.lst file:
Code:# Generated by jiffyboot version 9.1. If this file is edited, the # system will stop modifying it. To allow the system to resume # management of this file, remove it and run /sbin/jiffyboot # default=0 timeout=10 color cyan/green magenta/green splashimage=/boot/grub/bootsplash.xpm.gz instructions Use the %c and %c keys to select which entry is highlighted. timeout_message Entry %d will be booted automatically in %d seconds. # hda1, boot entry title Freespire Ver. 1.0.13 root (hd0,0) kernel /boot/vmlinuz-2.6.14-gratis root=/dev/root rootdev=0x0301 ramdisk=35392 video=vesafb:nomtrr jiffymount=noatime resume2=swap:/dev/hda1:0x44000 vga=0x311 splash=silent initrd /boot/initrd-2.6.14-gratis.gz # hda1, diagnostic boot entry of /dev/root title Diagnostics root (hd0,0) kernel /boot/vmlinuz-2.6.14-gratis noresume2 single Diagnostics splash=0 root=/dev/root rootdev=0x0301 ramdisk=35392 video=vesafb:nomtrr jiffymount=noatime resume2=swap:/dev/hda1:0x44000 initrd /boot/initrd-2.6.14-gratis.gz # hda1, redetect boot entry of /dev/root title Redetect root (hd0,0) kernel /boot/vmlinuz-2.6.14-gratis noresume2 redetect splash=0 root=/dev/root rootdev=0x0301 ramdisk=35392 video=vesafb:nomtrr jiffymount=noatime resume2=swap:/dev/hda1:0x44000 initrd /boot/initrd-2.6.14-gratis.gz title Advanced Menu configfile (hd0,0)/boot/grub/advanced-normal.lst
- 07-09-2007 #9
open menu.lst file and delete all its contents.
paste this
save file and reboot.Code:default=0 timeout=10 color cyan/green magenta/green splashimage=/boot/grub/bootsplash.xpm.gz title Freespire Ver. 1.0.13 root (hd0,0) kernel /boot/vmlinuz-2.6.14-gratis root=/dev/hda1 vga=0x311 splash=silent initrd /boot/initrd-2.6.14-gratis.gz title Windows XP rootnoverify (hd1,0) map (hd0) (hd1) map (hd1) (hd0) chainloader +1It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 07-09-2007 #10
Ok...I replaced the menu.lst with the code that DC suggested. The grub boot loader recognizes the Win XP hdd. But when I select the Windows disk I get this error:
Code:Error 21: Selected disk does not exist
When I select Freespire hdd I get this error:
Now I can't boot into the freespire disk. Even If I unplug the windows disk and run freespire alone. I am typing this message on the windows disk running as master and freespire disk unplugged. I know something went wrong...wish I knew what it was. Thanks for the help in advance.Code:Kernal panic - not syncing: VFS: Unable to mount root fs on unkown - block (3,1)


Reply With Quote

