LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2009, 04:05 PM   #16
aBitLater
LQ Newbie
 
Registered: Jan 2008
Location: Midwest, USA
Distribution: ubuntu
Posts: 10

Original Poster
Rep: Reputation: 0

Here's my latest details, after fresh install of both OS's. Still get same error.

installed windows on only drive hooked up in system at the time (channel 2 sata)
plugged in channel 1 sata drive, installed ubuntu on it, and chose to put grub on sda

that didn't work, so I reinstalled ubuntu from scratch and chose sda1 for grub. still doesn't work. My other sane choice is (hd0), but isn't that the same as choosing 'sda'?, anyway, I've chosen (hd0) with the past installs so I thought I'd try something different.

I'm still feeling that the boot.ini needs customization (because grub was getting to the boot.ini menu before). and/or I have some issue with sata with which I'm ignorant. On my abit ab9-pro motherboard, I have sata channels 1 thru 6 that can be set up for raid 0/1/5/10... but I never use raid. My onchip sata is in IDE mode - other options are RAID, and AHCI. There is an "IDE Bus Master" option which I have disabled. Abit manual says this is for IDE Bus Mastering capability under DOS environment. I enabled it to see if it'd make a difference, but now that I think about it, perhaps I'd need to set some jumpers on the drives to truly test this option.

BIOS boots to channel 1 / ubuntu disk

Code:
---------------------------------------
root@ubuwide:~# blkid
/dev/sda1: UUID="5dcc8d8a-173f-4a09-bee1-0a3200483ce4" TYPE="ext3" 
/dev/sda5: TYPE="swap" UUID="656c348a-eaab-4bdb-ac65-817a52651f53" 
/dev/sdb1: UUID="FA8C62EC8C62A33D" TYPE="ntfs" 

---------------------------------------
root@ubuwide:~# cat /etc/fstab 
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda1
UUID=5dcc8d8a-173f-4a09-bee1-0a3200483ce4 /               ext3    relatime,errors=remount-ro 0       1
# /dev/sda5
UUID=656c348a-eaab-4bdb-ac65-817a52651f53 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0

---------------------------------------
root@ubuwide:~# cat /boot/grub/menu.lst 
....<snip>
title		Ubuntu 8.10, kernel 2.6.27-7-generic
uuid		5dcc8d8a-173f-4a09-bee1-0a3200483ce4
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=5dcc8d8a-173f-4a09-bee1-0a3200483ce4 ro quiet splash 
initrd		/boot/initrd.img-2.6.27-7-generic
quiet

title		Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid		5dcc8d8a-173f-4a09-bee1-0a3200483ce4
kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=5dcc8d8a-173f-4a09-bee1-0a3200483ce4 ro  single
initrd		/boot/initrd.img-2.6.27-7-generic

title		Ubuntu 8.10, memtest86+
uuid		5dcc8d8a-173f-4a09-bee1-0a3200483ce4
kernel		/boot/memtest86+.bin
quiet

### 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/sdb1
title		Microsoft Windows XP Professional
root		(hd1,0)
savedefault
map		(hd0) (hd1)
map		(hd1) (hd0)
chainloader	+1

---------------------------------------
root@ubuwide:~# cat /boot/grub/device.map 
(hd0)	/dev/sda
(hd1)	/dev/sdb
Here is windows boot.ini (mounted windows disk from within ubuntu to get this.)

Code:
[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
 
Old 03-05-2009, 04:18 PM   #17
aBitLater
LQ Newbie
 
Registered: Jan 2008
Location: Midwest, USA
Distribution: ubuntu
Posts: 10

Original Poster
Rep: Reputation: 0
can anyone refer me to a good mbr tutorial and/or editor... I'd like to inspect the windows bootloader - which, as I understand presently, is called by grub, and should reside in a certain sector on the windows disk.
 
Old 03-05-2009, 06:55 PM   #18
aBitLater
LQ Newbie
 
Registered: Jan 2008
Location: Midwest, USA
Distribution: ubuntu
Posts: 10

Original Poster
Rep: Reputation: 0
ok, last post on this... I think I have been beat by the computer

I just tried switching the sata connectors to another controller, using JMicron drivers instead of intel

I did notice that the windows install saw both disks as Bus 0, Target 0, and LUN 0 - I thought that seemed odd, but I don't know anything about how scsi should act, or sata should be set up when the OS interprets the sata drive as scsi. Ubuntu install reported it was installing on scsi4(0,0,0). Other than that, ubuntu seems to have correctly identified sda (hd0) and sdb (hd1).

I'm still interested in learning more about the MBR, as I did see one post where a guy with ntoskrnl problem had to edit his windows MBR. Have found a few articles googling, but am interested in any suggestions for tutorials as well.

Thank you all,
Brian
 
Old 03-06-2009, 11:10 AM   #19
aBitLater
LQ Newbie
 
Registered: Jan 2008
Location: Midwest, USA
Distribution: ubuntu
Posts: 10

Original Poster
Rep: Reputation: 0
well, woohoo, I guess I'm not finished yet...

I thought, what-the-heck, why not try another distro.

So I loaded windows again, on first drive, then opensuse 11.1 (gnome) on 2nd drive, and it works!!!! Somehow, opensuse's implementation of grub allows it all to work.

I haven't even checked out menu.lst yet (and I"m on another computer at the moment)... will post the menu.lst here later so those with similar issues can investigate the differences.

Right away, I'm wondering if the mess has to do with this UUID stuff.

Or... I did notice *this time* when installing windows, that I had different ID's for the disks, which winXP installer interprets as scsi (since I moved the cables to the JMB controller.

When installing this time, I used both the intel sata driver disk as an extra storage manufacturer disk, and the JMB (or JMicron) disk. Both of these drivers were made on floppies from booting with the ab9-pro *motherboard* CD.

Note: my sata drives are attached to the JMB controller.

On previous installs, I had tried to use the sil, intel, and JMB drivers, and windows balked at one of them .. think it was the sil. Also, on one install I had used only the JMB driver.

I'm not really sure which things that I did differently will matter to others, but I wanted to document so others may find at least "a path" to explore with their own ntoskrnl.exe problems.
 
Old 03-06-2009, 11:18 AM   #20
Matey
Member
 
Registered: Jan 2009
Posts: 114

Rep: Reputation: 17
I had to take my had drives on the 2nd chan. out then install Ubuntu/Linux.
put back the hard drives and it worked fine

Last edited by Matey; 03-06-2009 at 11:21 AM.
 
Old 03-07-2009, 08:18 AM   #21
aBitLater
LQ Newbie
 
Registered: Jan 2008
Location: Midwest, USA
Distribution: ubuntu
Posts: 10

Original Poster
Rep: Reputation: 0
pertinent info from opensuse that got it working

/boot/grub/menu.lst
Code:
# Modified by YaST2. Last modification on Fri Mar  6 17:10:56 EST 2009
default 0
timeout 8
gfxmenu (hd1,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.1 - 2.6.27.19-3.2
    root (hd1,1)
    kernel /boot/vmlinuz-2.6.27.19-3.2-default root=/dev/disk/by-id/ata-ST3300622AS_9NF08MXW-part2 resume=/dev/disk/by-id/ata-ST3300622AS_9NF08MXW-part1 splash=silent showopts vga=0x317
    initrd /boot/initrd-2.6.27.19-3.2-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.1 - 2.6.27.19-3.2
    root (hd1,1)
    kernel /boot/vmlinuz-2.6.27.19-3.2-default root=/dev/disk/by-id/ata-ST3300622AS_9NF08MXW-part2 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
    initrd /boot/initrd-2.6.27.19-3.2-default

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    rootnoverify (hd0,0)
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
    rootnoverify (fd0)
    chainloader +1
/etc/fstab
Code:
/dev/disk/by-id/ata-ST3300622AS_9NF08MXW-part1 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-ST3300622AS_9NF08MXW-part2 /                    ext3       acl,user_xattr        1 1
/dev/disk/by-id/ata-ST3300622AS_9NF08MXW-part3 /home                ext3       acl,user_xattr        1 2
/dev/disk/by-id/ata-ST3300620AS_9QF2AYNG-part1 /windows/C           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
 
  


Reply

Tags
boot, dual, grub, sata



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems dual booting with Ubuntu and windows xp using two separate hard drives Iceman99one Linux - General 3 08-19-2008 07:52 PM
Attempting to dual boot windows xp home and ubuntu on separate drives-help needed- Iceman99one Linux - General 9 08-03-2008 05:10 AM
Dual booting on separate SATA drives tewald Linux - Newbie 4 03-16-2008 10:35 PM
Dual boot w separate SATA drives newguy55 Linux - Newbie 7 03-19-2006 01:44 PM
Dual-booting 32 and 64 bit Fedora on separate SATA drives Barry Bingham Fedora 8 02-23-2005 03:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration