The definitive dual-booting guide

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
yamawho
Level 3
Level 3
Posts: 183
Joined: Tue Dec 04, 2007 8:53 pm

The definitive dual-booting guide

Postby yamawho » Wed Feb 27, 2008 11:21 pm

The definitive dual-booting guide: Linux, Vista and XP step-by-step ...

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

Husse
Level 23
Level 23
Posts: 18703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: The definitive dual-booting guide

Postby Husse » Thu Feb 28, 2008 6:28 am

As this has Vista it's really interesting - there are some twists with Vista I think
I'll make it sticky
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

Ellis
Level 1
Level 1
Posts: 1
Joined: Thu Mar 27, 2008 4:53 am
Location: Near Cambourne, Cambridge. UK
Contact:

Re: The definitive dual-booting guide

Postby Ellis » Thu Mar 27, 2008 5:33 am

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.

User avatar
atlef
Level 4
Level 4
Posts: 306
Joined: Sun Nov 18, 2007 8:20 am
Location: Stavanger NORWAY
Contact:

Re: The definitive dual-booting guide

Postby atlef » Thu Mar 27, 2008 7:27 am

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.

User avatar
Tony G
Level 3
Level 3
Posts: 177
Joined: Wed Jan 16, 2008 9:36 pm
Location: Laramie, WY, US

Re: The definitive dual-booting guide

Postby Tony G » Tue Apr 22, 2008 1:44 pm

"The greatest enemy of a good plan is the dream of a perfect plan."

--Carl von Clausewitz

olik

Re: The definitive dual-booting guide

Postby olik » Sun Jun 29, 2008 5:31 am

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

olik

Re: The definitive dual-booting guide

Postby olik » Sun Jun 29, 2008 6:42 am

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 :/

olik

Re: The definitive dual-booting guide

Postby olik » Sun Jun 29, 2008 7:15 am

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

User avatar
atlef
Level 4
Level 4
Posts: 306
Joined: Sun Nov 18, 2007 8:20 am
Location: Stavanger NORWAY
Contact:

Re: The definitive dual-booting guide

Postby atlef » Sun Jun 29, 2008 5:59 pm

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.

hoppel
Level 3
Level 3
Posts: 174
Joined: Wed Oct 10, 2007 1:38 pm

Re: The definitive dual-booting guide

Postby hoppel » Sat Jul 12, 2008 1:10 pm

@ 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...

Husse
Level 23
Level 23
Posts: 18703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: The definitive dual-booting guide

Postby Husse » Sat Jul 12, 2008 2:19 pm

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
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

hoppel
Level 3
Level 3
Posts: 174
Joined: Wed Oct 10, 2007 1:38 pm

Re: The definitive dual-booting guide

Postby hoppel » Tue Jul 22, 2008 10:05 am

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?

Husse
Level 23
Level 23
Posts: 18703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: The definitive dual-booting guide

Postby Husse » Wed Jul 23, 2008 7:42 am

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 ...
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

hoppel
Level 3
Level 3
Posts: 174
Joined: Wed Oct 10, 2007 1:38 pm

Re: The definitive dual-booting guide

Postby hoppel » Fri Jul 25, 2008 9:13 am

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.

Husse
Level 23
Level 23
Posts: 18703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: The definitive dual-booting guide

Postby Husse » Sat Jul 26, 2008 6:56 am

Sorry - grub gone....
Use (hd0,1) and proceed as above
like so
root (hd0,1)
- setup (hd0)
- quit
- exit
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

kondor
Level 1
Level 1
Posts: 15
Joined: Sat Jul 26, 2008 8:57 pm

Re: The definitive dual-booting guide

Postby kondor » Wed Jul 30, 2008 12:04 pm

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.

User avatar
bongle
Level 1
Level 1
Posts: 7
Joined: Tue Feb 17, 2009 12:37 am
Location: Barbados
Contact:

Re: The definitive dual-booting guide

Postby bongle » Tue Mar 24, 2009 4:01 am

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.

User avatar
bongle
Level 1
Level 1
Posts: 7
Joined: Tue Feb 17, 2009 12:37 am
Location: Barbados
Contact:

Re: The definitive dual-booting guide

Postby bongle » Tue Mar 24, 2009 11:38 am

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?

rdonnelly
Level 5
Level 5
Posts: 503
Joined: Thu Nov 27, 2008 9:38 pm

Re: The definitive dual-booting guide

Postby rdonnelly » Tue Mar 24, 2009 12:02 pm

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.
Using Mint since 2008
*Mint 18.2 KDE
*ASUS 970 PRO GAMING/AURA AM3+ AMD 970 + SB 950 SATA 6Gb/s USB 3.1
*AMD FX-8370 with AMD Wraith cooler Vishera 8-Core 4.0 GHz (4.3 GHz Turbo)
*G.SKILL Ripjaws X Series 16GB DDR3 SDRAM
*nVIDIA GEFORCE GT 610 2GB

sunyata
Level 1
Level 1
Posts: 11
Joined: Tue Nov 04, 2008 6:17 pm

Re: The definitive dual-booting guide

Postby sunyata » Thu May 28, 2009 10:11 pm

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.
Last edited by sunyata on Sat May 30, 2009 2:12 pm, edited 1 time in total.


Return to “Installation & Boot”