Duel Boot Problem

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
User avatar
twobit
Level 1
Level 1
Posts: 49
Joined: Tue Jun 28, 2011 10:55 am
Location: Palmetto Florida

Duel Boot Problem

Post by twobit »

I have two hard drives, one for Linux Mint 11 (Installed) and one for Windows XP (Installed). I installed XP first on CH2 (sdb) then LM11 on CH1 (sda) On boot up, LM comes up as I have sda as the primary HD, no where can I locate XP, I tried "Start Up Manager" in LM, nothing happened.
Any suggestions?
User avatar
xenopeek
Level 24
Level 24
Posts: 24927
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Duel Boot Problem

Post by xenopeek »

Read this bit: https://wiki.archlinux.org/index.php/GRUB2#Dual-booting. You will have to edit the file /etc/grub.d/40_custom and add your Windows XP partition there, follow the instructions.

Alternatively, you can install os-prober from the repos to help with this I gather.
Image
StanTheMan
Level 5
Level 5
Posts: 574
Joined: Fri Feb 13, 2009 7:07 pm

Re: Duel Boot Problem

Post by StanTheMan »

It is tricky to install Windows on a slave drive (sdb)
Generally it works more simply, with Windows installed on a partition of the Master drive (sda1 , or whatever partition). And your BIOS set to boot sda .

Then an installation of Linux Mint will write the MBR on sda , but will target the partition on sdbxx where the actual boot list files of the Linukx bootloader will be instfalled.

If there was a factory installation originally of Win XP there will likely also be a Hidden Windows recovery partition (usually 6 to 10 GB ), which will also show up on your Linux bootloader list.
Do not select to boot that recovery partition unless you want to format C: on Windows.
User avatar
twobit
Level 1
Level 1
Posts: 49
Joined: Tue Jun 28, 2011 10:55 am
Location: Palmetto Florida

Re: Duel Boot Problem

Post by twobit »

windows is not installed on a 'Slave Drive", I used sdb as an example. Windaws is on a second dard Drive shown as CH2 "Master" in BIOS as is Linux CH1 in BIOS "Master". I had to seperate the SATA connections in such an order to get both hard drive as '"Masters". The only "Slave" is the DVD.
I went into BIOS & placed CH2 as primary, rebooted, windows nor linux opened, at the bottom left: "grub rescue" with a flashing curser.
SimonTS
Level 6
Level 6
Posts: 1263
Joined: Thu Feb 24, 2011 5:19 pm
Location: Bristol, United Kingdom

Re: Duel Boot Problem

Post by SimonTS »

OK. Boot up your Mint system and please enter the following commands from a terminal and post the outputs here for us;-

Code: Select all

sudo fdisk -l

Code: Select all

sudo parted -l

Code: Select all

sudo os-prober
User avatar
twobit
Level 1
Level 1
Posts: 49
Joined: Tue Jun 28, 2011 10:55 am
Location: Palmetto Florida

Re: Duel Boot Problem

Post by twobit »

Please excuse my ignorance SimonTS, you say: "Enter The Commands From A Terminal" can you please explain this to me ?
SimonTS
Level 6
Level 6
Posts: 1263
Joined: Thu Feb 24, 2011 5:19 pm
Location: Bristol, United Kingdom

Re: Duel Boot Problem

Post by SimonTS »

From your Mint system, click on the "MintMenu" / "Terminal" so you get the Linux equivalent of a DOS prompt and type the commands there. You can highlight the text output with your mouse and copy it, then paste it on here as text.
User avatar
twobit
Level 1
Level 1
Posts: 49
Joined: Tue Jun 28, 2011 10:55 am
Location: Palmetto Florida

Re: Duel Boot Problem

Post by twobit »

Outputs from terminal per your request.
sage:
fdisk [options] <disk> change partition table
fdisk [options] -l <disk> list partition table(s)
fdisk -s <partition> give partition size(s) in blocks

Options:
-b <size> sector size (512, 1024, 2048 or 4096)
-c switch off DOS-compatible mode
-h print help
-u <size> give sizes in sectors instead of cylinders
-v print version
-C <number> specify the number of cylinders
-H <number> specify the number of heads
-S <number> specify the number of sectors per track

joann@joann-GA-MA785GT-UD3H ~ $ sudo parted -1
parted: invalid option -- '1'
Usage: parted [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]
joann@joann-GA-MA785GT-UD3H ~ $ sudo os-prober
/dev/sda6:Linux Mint 11 Katya (11):LinuxMint:linux
SimonTS
Level 6
Level 6
Posts: 1263
Joined: Thu Feb 24, 2011 5:19 pm
Location: Bristol, United Kingdom

Re: Duel Boot Problem

Post by SimonTS »

You need to be careful to put the command in correctly. Both of those first two commands were "-l" (a lower-case letter L). That is why I put them in a 'code' box, so you can copy them and paste them into the terminal if needed.
User avatar
twobit
Level 1
Level 1
Posts: 49
Joined: Tue Jun 28, 2011 10:55 am
Location: Palmetto Florida

Re: Duel Boot Problem

Post by twobit »

FROM "sudo fdisk -1" IS THIS OK? IF SO I'LL DO THE OTHERS.
ann@joann-GA-MA785GT-UD3H ~ $ sudo fdisk -l
[sudo] password for joann:

Disk /dev/sda: 500.1 GB, 500103634432 bytes
255 heads, 63 sectors/track, 60800 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003721c

Device Boot Start End Blocks Id System
/dev/sda2 3648 53008 396483585 5 Extended
/dev/sda5 3648 4377 5858304 82 Linux swap / Solaris
/dev/sda6 4377 53008 390624256 83 Linux

Disk /dev/sdb: 500.1 GB, 500103634432 bytes
255 heads, 63 sectors/track, 60800 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e0298

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 3648 29295616 83 Linux
/dev/sdb2 3648 53008 396483585 5 Extended
/dev/sdb5 3648 4377 5858304 82 Linux swap / Solaris
/dev/sdb6 4377 53008 390624256 83 Linux

Disk /dev/sdc: 1060 MB, 1060634624 bytes
32 heads, 63 sectors/track, 1027 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdc1 1 1027 1035184+ 6 FAT16
SimonTS
Level 6
Level 6
Posts: 1263
Joined: Thu Feb 24, 2011 5:19 pm
Location: Bristol, United Kingdom

Re: Duel Boot Problem

Post by SimonTS »

That's correct.
User avatar
twobit
Level 1
Level 1
Posts: 49
Joined: Tue Jun 28, 2011 10:55 am
Location: Palmetto Florida

Re: Duel Boot Problem

Post by twobit »

FROM "SUDO PARTED -1
joann@joann-GA-MA785GT-UD3H ~ $ sudo parted -l
[sudo] password for joann:
Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
2 30.0GB 436GB 406GB extended
5 30.0GB 36.0GB 5999MB logical linux-swap(v1)
6 36.0GB 436GB 400GB logical ext4


Model: ATA ST3500418AS (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 30.0GB 30.0GB primary ext4 boot
2 30.0GB 436GB 406GB extended
5 30.0GB 36.0GB 5999MB logical linux-swap(v1)
6 36.0GB 436GB 400GB logical ext4


Error: /dev/fd0: unrecognised disk label

joann@joann-GA-MA785GT-UD3H ~ $
User avatar
twobit
Level 1
Level 1
Posts: 49
Joined: Tue Jun 28, 2011 10:55 am
Location: Palmetto Florida

Re: Duel Boot Problem

Post by twobit »

FROM "sudo os-prober"
joann@joann-GA-MA785GT-UD3H ~ $ sudo os-prober
/dev/sda6:Linux Mint 11 Katya (11):LinuxMint:linux
joann@joann-GA-MA785GT-UD3H ~ $
SimonTS
Level 6
Level 6
Posts: 1263
Joined: Thu Feb 24, 2011 5:19 pm
Location: Bristol, United Kingdom

Re: Duel Boot Problem

Post by SimonTS »

That is really weird - those commands are only showing some of your partitions on each drive. It looks almost as if your Linux system is refusing to recognise anything to do with NTFS on your drives.

Just to ensure that NFTS support is running, can you please open a terminal and type;-

Code: Select all

ntfs-3g
It should return an error saying something like "ntfs-3g: No device is specified." plus some other text.

Also, could you please boot from your Mint 11 LiveCD and enter the same 3 commands from before plus the one above and post the outputs here.
User avatar
twobit
Level 1
Level 1
Posts: 49
Joined: Tue Jun 28, 2011 10:55 am
Location: Palmetto Florida

Re: Duel Boot Problem

Post by twobit »

Yes, I can do that. Question, when copying , can I copy all the codes in reverse order & then paste them in the proper order ? Or, do I have to do them one at a time as I did in our previous mails ?
User avatar
twobit
Level 1
Level 1
Posts: 49
Joined: Tue Jun 28, 2011 10:55 am
Location: Palmetto Florida

Re: Duel Boot Problem

Post by twobit »

joann@joann-GA-MA785GT-UD3H ~ $ ntfs-3g
ntfs-3g: No device is specified.

ntfs-3g 2010.8.8 external FUSE 28 - Third Generation NTFS Driver
Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2010 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options: ro (read-only mount), remove_hiberfile, uid=, gid=,
umask=, fmask=, dmask=, streams_interface=, syncio.
Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Ntfs-3g news, support and information: http://ntfs-3g.org
SimonTS
Level 6
Level 6
Posts: 1263
Joined: Thu Feb 24, 2011 5:19 pm
Location: Bristol, United Kingdom

Re: Duel Boot Problem

Post by SimonTS »

OK, so NTFS-3G is installed on your system.

You can carry out the commands in any order you wish.
User avatar
twobit
Level 1
Level 1
Posts: 49
Joined: Tue Jun 28, 2011 10:55 am
Location: Palmetto Florida

Re: Duel Boot Problem

Post by twobit »

FROM LIVE CD

mint@mint ~ $ sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500103634432 bytes
255 heads, 63 sectors/track, 60800 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e0298

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3648 29295616 83 Linux
/dev/sda2 3648 53008 396483585 5 Extended
/dev/sda5 3648 4377 5858304 82 Linux swap / Solaris
/dev/sda6 4377 53008 390624256 83 Linux

Disk /dev/sdb: 500.1 GB, 500103634432 bytes
255 heads, 63 sectors/track, 60800 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003721c

Device Boot Start End Blocks Id System
/dev/sdb2 3648 53008 396483585 5 Extended
/dev/sdb5 3648 4377 5858304 82 Linux swap / Solaris
/dev/sdb6 4377 53008 390624256 83 Linux
User avatar
twobit
Level 1
Level 1
Posts: 49
Joined: Tue Jun 28, 2011 10:55 am
Location: Palmetto Florida

Re: Duel Boot Problem

Post by twobit »

FROM LIVE CD

mint@mint ~ $ sudo parted -l

Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 30.0GB 30.0GB primary ext4 boot
2 30.0GB 436GB 406GB extended
5 30.0GB 36.0GB 5999MB logical linux-swap(v1)
6 36.0GB 436GB 400GB logical ext4


Model: ATA ST3500418AS (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
2 30.0GB 436GB 406GB extended
5 30.0GB 36.0GB 5999MB logical linux-swap(v1)
6 36.0GB 436GB 400GB logical ext4
User avatar
twobit
Level 1
Level 1
Posts: 49
Joined: Tue Jun 28, 2011 10:55 am
Location: Palmetto Florida

Re: Duel Boot Problem

Post by twobit »

FROM LIVE CD

mint@mint ~ $ sudo os-prober
/dev/sda6:Linux Mint 11 Katya (11):LinuxMint:linux


/dev/sdb6:Linux Mint 11 Katya (11):LinuxMint1:linux
Post Reply

Return to “Installation & Boot”