[SOLVED] Dual boot with 2 HDD's

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Re: Dual boot with 2 HDD's

Postby doktor5000 » Jul 29th, '11, 16:53

Garthhh wrote:that is exactly what I did
I just went to MCC>Boot set up & changed it back to sda1, it's showing the windows on sdb1 on the boot menu list


The questions remains for me:
Why did you do so, even when i gave you exact instructions?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Dual boot with 2 HDD's

Postby Garthhh » Jul 29th, '11, 18:00

how did you download your image files?
I always use torrents, the success rate seems to be 100%
as long as my hardware [burner] is good

Straight downloads seem to be much more problematic for files that big
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Dual boot with 2 HDD's

Postby doktor5000 » Jul 29th, '11, 18:01

Maybe you replied to the wrong thread?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Dual boot with 2 HDD's

Postby Garthhh » Jul 29th, '11, 18:08

doktor5000 wrote:
Garthhh wrote:that is exactly what I did
I just went to MCC>Boot set up & changed it back to sda1, it's showing the windows on sdb1 on the boot menu list


The questions remains for me:
Why did you do so, even when i gave you exact instructions?


I didn't see the windows entry present when I left the dropdown set to sda
could be it was brain fade on my part

my last replies were in reference to John66's problems with live cd's
I should have quoted
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Dual boot with 2 HDD's

Postby John66 » Jul 29th, '11, 18:32

Garthhh

Well, this an off-topic question, but anyway. Moderators can delete this post if it is "in the wrong place".
I always download distribution's ISO images from direct links, using flashgot (add-on in firefox) + KGet. My Free DVD x86_64 also (some GB), among other DVD installations.
Never had any problem. And I didn't even downloaded at once, I stopped downloading, then sometime later resumed it. Never had a problem with KGet with this function.
Also no problem with flashgot + aria2 + XTerm (I use it to see the progress of downloading).
The problem I think is with the hardware, but I can't figure out what exactly.
This was the second download of Mageia Gnome CD, done in Mageia Gnome x86_64 installation (flashgot+aria2).
Both md5sum & sha1sum checked and were correct, burned with brasero in 4x speed. Same procedure with the KDE CD. No luck.
The first download of Mageia Gnome CD was made from my Mageia x86_64 KDE installation (flashgot+Kget), both checksums were again correct, burned with k3b (always 4x speed),
verified the burned medium, all seemed OK. But couldn't boot.
Some time later (2-3 weeks ago) downloaded & burned the PCLinuxOs Live CD, the one I used earlier today. No problems with that one.
Well I'll deal with the problem, sometime in the future.
I always use the Free DVD for installation (since Mandriva 2009.0 if my memory serves me well).

Thanks for asking
I have to go
Bye
John66
John66
 
Posts: 94
Joined: Apr 8th, '11, 02:55

Re: Dual boot with 2 HDD's

Postby doktor5000 » Jul 29th, '11, 18:44

Garthhh wrote:I didn't see the windows entry present when I left the dropdown set to sda
could be it was brain fade on my part


Well, the point was to add it if it was not there. Anyways, have you fixed GRUB configuration
and is the added windows entry now working?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Dual boot with 2 HDD's

Postby Garthhh » Jul 29th, '11, 19:46

doktor5000 wrote:
Garthhh wrote:I didn't see the windows entry present when I left the dropdown set to sda
could be it was brain fade on my part


Well, the point was to add it if it was not there. Anyways, have you fixed GRUB configuration
and is the added windows entry now working?


the windows entry in not working, but does appear
I added a 2nd, no go
removed both windows entries & added a fresh one, no go
the error is
root (hd1,0)
filetype unknown
partition type 0x7
chainloader +1
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Dual boot with 2 HDD's

Postby John66 » Jul 29th, '11, 20:33

Hi again

I found another GRUB entry (on the internet) for windows that are installed in a second hard drive:
title windows
root (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
makeactive
chainloader +1



Also, can you the following?:
1. In your Mageia, go to /boot/grub/device.map and post the contents of the file here. You don't have be root.
2. Again in mageia, open the terminal, take root rights (su) and type:
Code: Select all
fdisk -l

and copy the output here.
3. When your machine is in POST ( the time you hit delete, to get into BIOS),
at the lower end of your screen you have also the options (propably F8 or F12) to change the boot device (temporarily, for this boot).
Can you select the second drive (with xp) and boot in windows?
John66
 
Posts: 94
Joined: Apr 8th, '11, 02:55

Re: Dual boot with 2 HDD's

Postby Garthhh » Jul 30th, '11, 02:05

this bios doesn't have the option of booting the secondary HDD
I've built 5-6 of these HP dc500 sff's
the bios is real bare bones
these are the little ones you might see on the desk at a bank from around 05 or so

here's the output

Disk /dev/sdb: 40.0 GB, 40020664320 bytes
240 heads, 63 sectors/track, 5169 cylinders, total 78165360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a5c70

Device Boot Start End Blocks Id System
/dev/sdb1 * 63 78140159 39070048+ 7 HPFS/NTFS

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00086ace

Device Boot Start End Blocks Id System
/dev/sda1 * 63 25189919 12594928+ 83 Linux
/dev/sda2 25189920 312576704 143693392+ 5 Extended
/dev/sda5 25189983 33367004 4088511 82 Linux swap / Solaris
/dev/sda6 33367068 312576704 139604818+ 83 Linux
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Dual boot with 2 HDD's

Postby Garthhh » Jul 31st, '11, 07:51

I just installed a different HDD with a working XP install
still the same error
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Dual boot with 2 HDD's

Postby doktor5000 » Jul 31st, '11, 10:06

You still haven't shown your /boot/grub/menu.lst and your /boot/grub/device.map so we could try to fix them.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Dual boot with 2 HDD's

Postby Garthhh » Jul 31st, '11, 16:32

sorry
I thought that's what my post 3 back was?
which is the output of
fdisk -l
run as root
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Dual boot with 2 HDD's

Postby doktor5000 » Jul 31st, '11, 16:37

Yes, that is fdisk -l output, showing your partitioning.
But we need to know you current bootloader configuration.

So please:
Code: Select all
cat /boot/grub/menu.lst
cat /boot/grub/device.map
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Dual boot with 2 HDD's

Postby Garthhh » Jul 31st, '11, 17:24

[root@localhost mgarlo]# cat /boot/grub/menu.lst
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0

title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=be5b6fc4-cb71-444b-ab6c-4a7acc1ade9c resume=UUID=37d96d74-af16-4c92-95d6-c2642ad5da63 splash=silent vga=788
initrd (hd0,0)/boot/initrd.img

title linux-nonfb
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=be5b6fc4-cb71-444b-ab6c-4a7acc1ade9c resume=UUID=37d96d74-af16-4c92-95d6-c2642ad5da63
initrd (hd0,0)/boot/initrd.img

title failsafe
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=be5b6fc4-cb71-444b-ab6c-4a7acc1ade9c failsafe
initrd (hd0,0)/boot/initrd.img

title 2.6.38.7-desktop586-1.mga
kernel (hd0,0)/boot/vmlinuz-2.6.38.7-desktop586-1.mga BOOT_IMAGE=2.6.38.7-desktop586-1.mga root=UUID=be5b6fc4-cb71-444b-ab6c-4a7acc1ade9c resume=UUID=37d96d74-af16-4c92-95d6-c2642ad5da63 splash=silent vga=788
initrd (hd0,0)/boot/initrd-2.6.38.7-desktop586-1.mga.img

title 2.6.38.8-desktop586-4.mga
kernel (hd0,0)/boot/vmlinuz-2.6.38.8-desktop586-4.mga BOOT_IMAGE=2.6.38.8-desktop586-4.mga root=UUID=be5b6fc4-cb71-444b-ab6c-4a7acc1ade9c resume=UUID=37d96d74-af16-4c92-95d6-c2642ad5da63 splash=silent vga=788
initrd (hd0,0)/boot/initrd-2.6.38.8-desktop586-4.mga.img

title windows
root (hd1,0)
chainloader +1
[root@localhost mgarlo]# cat /boot/grub/device.map
(hd0) /dev/sda
(hd1) /dev/sdb
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Dual boot with 2 HDD's

Postby doktor5000 » Jul 31st, '11, 19:10

Garthhh wrote:
Code: Select all
[...]
title windows
root (hd1,0)
chainloader +1


So the Mageia entries should be working, is that right?

For windows, you should change the part that i quoted against one of these of John66's proposals:

Code: Select all
title windows
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1

or
Code: Select all
title windows
root (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
makeactive
chainloader +1

or
Code: Select all
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +1
boot
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Dual boot with 2 HDD's

Postby Garthhh » Jul 31st, '11, 19:50

yes the Mageia entries are working
how do I get to
/boot/grub/menu.lst
as root?
I can find that file, but don't have permission using gedit
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Dual boot with 2 HDD's

Postby doktor5000 » Aug 1st, '11, 11:06

Try
Code: Select all
su -
enter root password
gedit

Then you can write to that file.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18045
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Dual boot with 2 HDD's

Postby Garthhh » Aug 1st, '11, 13:01

[root@localhost mgarlo]# gedit

(gedit:31440): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Dual boot with 2 HDD's

Postby Garthhh » Aug 1st, '11, 13:36

I also specified the full path just now & got the same result
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Dual boot with 2 HDD's

Postby John66 » Aug 1st, '11, 13:45

Hi Garthhh

I had no internet connection, so I couldn't follow this thread.
Strange that you get errors when trying to open gedit as root.
Anyway, since you're using Gnome, there's another way.
Open your file manager (nautilus), go into /boot directory, right click the /grub sub-directory (subfolder), at the window that pops-up there is
a selection Open as administrator. Click that selection, enter your root password in the prompt window.
Then, a second file manager opens, but this one is with root rights.
Double-click the menu.lst file and gedit will open with root rights.
John66
 
Posts: 94
Joined: Apr 8th, '11, 02:55

Re: Dual boot with 2 HDD's

Postby Garthhh » Aug 1st, '11, 14:13

When I right click & go to the open with menu
administrator is not one of the options
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Dual boot with 2 HDD's

Postby John66 » Aug 1st, '11, 14:21

OK, that's strange too.
Wait some minutes. I'll reboot in Mageia Gnome installation.
John66
 
Posts: 94
Joined: Apr 8th, '11, 02:55

Re: Dual boot with 2 HDD's

Postby John66 » Aug 1st, '11, 14:50

If your context menu (right click menu) in Nautilus, is not like this:

Image

Then a package is not installed. It's the gksu package.
Install it (from Install and remove sofware, in MCC), or in terminal
Code: Select all
su
urpmi gksu

and you'll have it in your Nautilus right-click menu.
John66
 
Posts: 94
Joined: Apr 8th, '11, 02:55

Re: Dual boot with 2 HDD's

Postby Garthhh » Aug 1st, '11, 15:14

I installed
Screenshot-Mageia Control Center  [on localhost].png
Screenshot-Mageia Control Center [on localhost].png (89.52 KiB) Viewed 9701 times


still no open as admin
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Dual boot with 2 HDD's

Postby John66 » Aug 1st, '11, 15:42

This should be the missing package. Sorry that I'm not very helpful. Usually, after initial installation, I install some more packages, almost "mechanically", that are useful for everyday use,
that's why I'm "almost" and not "completely" certain that this is the missing package.
But in MCC, Install and remove software, in the very same picture your posting, below the gksu packages list, is the window "Quick Introduction".
If you click on the package gksu, then in the window I describe above you'll see some information about the package, plus the "expandable notification areas":
Details
Files
Changelog

If you click on the little arrow, on the left of Files, then you'll see the following lines (the files that the rpm installs). You should have the same
‎ /usr/bin/gksu
‎/usr/bin/gksudo
‎/usr/lib64/nautilus/extensions-2.0/libnautilus-gksu.a
‎/usr/lib64/nautilus/extensions-2.0/libnautilus-gksu.la
‎/usr/lib64/nautilus/extensions-2.0/libnautilus-gksu.so
‎/usr/share/applications/gksu.desktop
‎/usr/share/doc/gksu
‎/usr/share/doc/gksu/AUTHORS
‎/usr/share/doc/gksu/COPYING
‎/usr/share/doc/gksu/ChangeLog
‎/usr/share/doc/gksu/README
‎/usr/share/gksu
‎/usr/share/gksu/gksu-migrate-conf.sh
‎/usr/share/man/man1/gksu.1.xz
‎/usr/share/man/man1/gksudo.1.xz
‎/usr/share/pixmaps/gksu-icon.png
‎/usr/share/pixmaps/gksu-root-terminal.png

The lines 3-5 tells me that this is the package your missing.
Maybe a logout-login?
John66
 
Posts: 94
Joined: Apr 8th, '11, 02:55

PreviousNext

Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron