Page 1 of 3

The definitive dual-booting guide

Posted: Wed Feb 27, 2008 11:21 pm
by yamawho
The definitive dual-booting guide: Linux, Vista and XP step-by-step ...

http://apcmag.com/node/5162/

Re: The definitive dual-booting guide

Posted: Thu Feb 28, 2008 6:28 am
by Husse
As this has Vista it's really interesting - there are some twists with Vista I think
I'll make it sticky

Re: The definitive dual-booting guide

Posted: Thu Mar 27, 2008 5:33 am
by Ellis
I have discovered a different (probably safer) way than dual booting. The switchover process is probably much the same. If that awful Windows system crashes it won't take your Linux system with it.

My set-up:-

Basic computer = Acer Aspire T120 Desktop.
Open the case and remove the Windows HDD.
Obtain two Super Racks (Vi-Power), install the casing of one in the vacant 5.25in bay and connect it as the primary drive. Place the Windows HDD (cable select) into the Super Rack carrier. Slide the carrier in and lock into place. Boot into Windows and use.

Obtain a second HDD (set to Cable Select), install in the second carrier.
Shut down the Windows system, unlatch and remove the carrier. Place the blank HDD carrier into the casing and lock into place. Insert the Linux Live CD (of your choice) into the CD drive and install to the blank HDD. Remove the CD and reboot into Linux.

The switchover process is:-
Shut down the existing OS, unlatch and remove the HDD carrier.
Place the alternative carrier into the bay and lock into place.
Then boot into the alternative system.

I refined this by adding a 250GB HDD as a secondary drive (cable select) in the 3.5in bay where the FLP drive is removed from and saving all data files to that. The slave is accessible to both systems (but I find that you need to mount it in Linux, by clicking on 'computer' then clicking on the disk icon (mine is named 'DATA-DISK') you then have to enter your password (for root action) but this may not be necessary on some Linux versions.

I have no connection with Vi-Power and actually found the first Super Rack on a stall at my local town market, I had to Google for the second one.

Re: The definitive dual-booting guide

Posted: Thu Mar 27, 2008 7:27 am
by atlef
My setup regarding this kind of dual booting is somewhat different, but does have the same "feature" as yours. Separate disks for the OS, and separate bootloader/mbr's.
Vista bootloader is located in sda, and grub in sdb. Then I can choose by hitting F8 during post to get to a boot menu, and I select which disk I want to boot.

atlef.

Re: The definitive dual-booting guide

Posted: Tue Apr 22, 2008 1:44 pm
by Tony G

Re: The definitive dual-booting guide

Posted: Sun Jun 29, 2008 5:31 am
by olik
My goal now is only to get the data back from the d partition.
I don t care about the windows or mint installation at this point, I just wonna have the data back.
Does anyone has an idea with which datarecover software I can do that, keep in mind, that the partiton where the data was on it is now a swap

Thanks for help
oli

Re: The definitive dual-booting guide

Posted: Sun Jun 29, 2008 6:42 am
by olik
On an other message board someone wrote me:
"Well having gone from NTFS to LINUX SWAP on the partition forensics is about
all you have. "

do you agree on that?
That would be horrible, I just hope some one else has another solution :/

Re: The definitive dual-booting guide

Posted: Sun Jun 29, 2008 7:15 am
by olik
Has anyone experience with this one http://www.cgsecurity.org/wiki/TestDisk
it can manage linux swap 1 and 2 and it can "Rebuild NTFS boot sector
"
or this one http://www.cgsecurity.org/wiki/PhotoRec
"PhotoRec ignores the filesystem and goes after the underlying data,
so it will still work even if your media's filesystem has been
severely damaged or re-formatted."

Could that work for me?

If so should I run that software via windows or via Linux mint (which still uses that swap, so I assume windows would be better, no?
Thanks again for every help
oli

Re: The definitive dual-booting guide

Posted: Sun Jun 29, 2008 5:59 pm
by atlef
I have used TestDisk/PhotoRec with great success. But you would need to run it from a LiveCD, such as PartedMagic LiveCD.
And make sure you have enough space to recover the files.

atlef.

Re: The definitive dual-booting guide

Posted: Sat Jul 12, 2008 1:10 pm
by hoppel
@ Husse:

I'd like to see a way to restore GRUB directly from the boot menu of the livecd - would that be possible? I mean, otherwise you have to boot the whole cd...

Re: The definitive dual-booting guide

Posted: Sat Jul 12, 2008 2:19 pm
by Husse
I think that would be a bit complicated. To use the tools you are used to you would need to have X started I think

Re: The definitive dual-booting guide

Posted: Tue Jul 22, 2008 10:05 am
by hoppel
Ok, after a new installation of Windows XP I tried this manual but failed when trying to restore the GRUB boot loader. Using that guide I should follow these steps:

Code: Select all

To enter the GRUB configuration mode, type in "sudo grub" and press Enter. Then type in the following commands in sequence:
- root (hd0,0)
- setup (hd0)
- quit
- exit
But already "root (hd0,0) gives an error. Is there anything Mint specific what has to be dealt with?

Re: The definitive dual-booting guide

Posted: Wed Jul 23, 2008 7:42 am
by Husse
root (hd0,0)
Where is XP? In the first partition of the first disk because that's all it can use :)
So

Code: Select all

sudo grub
then

Code: Select all

find /boot/grub/stage1 
Now you can see where you have a "grub enabled" OS installed ...

Re: The definitive dual-booting guide

Posted: Fri Jul 25, 2008 9:13 am
by hoppel
Well, my old menu.lst looks like this:

Code: Select all

title		Linux Mint, kernel 2.6.24-19-generic
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.24-19-generic root=/dev/sda2 ro quiet splash
initrd		/boot/initrd.img-2.6.24-19-generic

title		Linux Mint, kernel 2.6.24-19-generic (recovery mode)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.24-19-generic root=/dev/sda2 ro single
initrd		/boot/initrd.img-2.6.24-19-generic

title		Linux Mint, kernel 2.6.24-16-generic
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.24-16-generic root=/dev/sda2 ro quiet splash
initrd		/boot/initrd.img-2.6.24-16-generic

title		Linux Mint, kernel 2.6.24-16-generic (recovery mode)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.24-16-generic root=/dev/sda2 ro single
initrd		/boot/initrd.img-2.6.24-16-generic

title		Linux Mint, kernel memtest86+
root		(hd0,1)
kernel		/boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title		Microsoft Windows XP Professional
root		(hd0,0)
savedefault
makeactive
chainloader	+1

I had Windows installed already, but made a fresh installation which deleted GRUB.

Re: The definitive dual-booting guide

Posted: Sat Jul 26, 2008 6:56 am
by Husse
Sorry - grub gone....
Use (hd0,1) and proceed as above
like so
root (hd0,1)
- setup (hd0)
- quit
- exit

Re: The definitive dual-booting guide

Posted: Wed Jul 30, 2008 12:04 pm
by kondor
Husse wrote:
root (hd0,0)
Where is XP? In the first partition of the first disk because that's all it can use :)


Not so. It may be there, but it is not a requirement. XP can go anywhere you want it - any partition (no sharing), any drive:) Also, one needn't use GRUB unless they want. NTLDR or the revised Vista bootloader can handle multiple OS booting. Also, LILO might be better for some dual/multiple boots in spite of its requirement for manual updating.

The thread topic, the linked guide, is good.

Re: The definitive dual-booting guide

Posted: Tue Mar 24, 2009 4:01 am
by bongle
Am I missing something here? Cos this definitive guide seems quite incomplete to me.

Firstly when I boot from a Sindows CD it just stalls at "Sindows is gathering information about my system" and NOTHING else happens from there. I even tried moving my Partitions around to make the FAT32 partition first after SWAP but to no avail. Am I missing something?

I even tried running Setup using WINE DOORS which hung also.

Those of you who actually got it to work please tell me how.

Re: The definitive dual-booting guide

Posted: Tue Mar 24, 2009 11:38 am
by bongle
OK I got the installation to start but it failed at creating the Partition saying that the max amount of partitions are already in use. (Swap, Boot & Applications). Would not go any further and now I'm getting No operating system after reboot.
How do I get back my Grub?

Re: The definitive dual-booting guide

Posted: Tue Mar 24, 2009 12:02 pm
by rdonnelly
I am not sure this would work for every one, but I use virtual box, you can install windoze on the virtual machine, and not even bother with multiple boots and waiting for your PC to reboot and shut down the slug of an OS windoze. I used to have an XP partition and a Linux partition. The only reason that you would need windoze on its own partition is if it needs full control of the hardware. I guess mainly games would need this? But me, I have been very happy with the Vbox setup.

Re: The definitive dual-booting guide

Posted: Thu May 28, 2009 10:11 pm
by sunyata
Question: How to default startup with Windows XP in dual boot with Mint

I have Windows XP Home on my laptop and have dual boot with Linux Mint. Everytime when I startup, it will default to open Linux on the menu and if I don't quickly select XP within a few seconds, it will automatically startup Linux. As my work requires me to open up XP first, how can I make the startup to default at XP?

Can someone please show me how to make it automatically default to open XP, and only start Linux when I choose to:

Thank you for any assistance you can offer.