LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-25-2003, 01:26 AM   #1
MoePhish
LQ Newbie
 
Registered: Mar 2003
Location: Nahville, TN
Posts: 11

Rep: Reputation: 0
Dual Boot with RAID and Two Hard Drives


Ok Here is my question:

I Wanted to dual boot windows XP and Linux Mandrake 9.0. I buaght a Brand new hard drive for doing this because I heard about all the horror stories of deleating partitions and loosing data. My Windows XP partition (NTFS) is on a PCI RAID card (acard ultra ATA 133 PCI Raid) when I went to install linux LILO couldn't find my hard drive on the RAID card. I reinstalled Linux but no luck. My computer booted to linux fine but now I can't get into XP without cutting the power from the Linux hard drive. When I went to edit LILO from Mandrake I still didn't find my Raided hard drives. I've read some posts on linux dual boot with two hard drives and some on booting with a RAID config. but none dealing with both. Is this even possible I would like to keep my windows partition and not have to back it up since I am a Student recording engineer and I have many files that should not be compressed (use lossey compression) to back them up.

Here is a Copy of my lilo.config:

boot=/dev/hda
map=/boot/map
default=linux-smp
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label=linux
root=/dev/hda1
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi quiet"
vga=791
read-only
image=/boot/vmlinuz
label=linux-nonfb
root=/dev/hda1
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi"
read-only
image=/boot/vmlinuz-smp
label=linux-smp
root=/dev/hda1
initrd=/boot/initrd-smp.img
append="devfs=mount hdd=ide-scsi"
vga=791
read-only
image=/boot/vmlinuz
label=failsafe
root=/dev/hda1
initrd=/boot/initrd.img
append="devfs=nomount hdd=ide-scsi failsafe"
read-only
other=/dev/fd0
label=floppy
unsafe

Any help would be Great.

Thanks,
James
 
Old 04-02-2003, 01:18 PM   #2
MoePhish
LQ Newbie
 
Registered: Mar 2003
Location: Nahville, TN
Posts: 11

Original Poster
Rep: Reputation: 0
No Replies still after a week. Does anyone have any info on my problem? Anyone?
 
Old 04-07-2003, 02:30 AM   #3
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Ok James,
I need some more info.

According to your lilo.conf your default boot is linux-smp, do you have two CPU's and if so what are they and what motherboard are they on?

Do "lspci -vv" and post all the information about the PCI RAID card.

Do "fdisk -l" and post the output.

Post your /etc/fstab.
 
Old 04-09-2003, 07:22 PM   #4
MoePhish
LQ Newbie
 
Registered: Mar 2003
Location: Nahville, TN
Posts: 11

Original Poster
Rep: Reputation: 0
Yes I am running a dual proc system 2 AMD 1800 mp's on a Tyan Tiger MPX Mobo.

I think this is my info on the PCI Raid card but maybe not:

00:09.0 SCSI storage controller: Artop Electronic Corp ATP865 (rev 02)
Subsystem: Artop Electronic Corp ATP865
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR-
Latency: 160 (2750ns min, 1000ns max)
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at 1038 [size=8]
Region 1: I/O ports at 1030 [size=4]
Region 2: I/O ports at 1028 [size=8]
Region 3: I/O ports at 1024 [size=4]
Region 4: I/O ports at 1010 [size=16]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [58] Power Management version 1
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot
-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Here is my FDisk:

Disk /dev/ide/host0/bus0/target0/lun0/disc: 255 heads, 63 sectors, 9964 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1 * 1 701 5630751 83 Linux
/dev/ide/host0/bus0/target0/lun0/part2 702 3413 21784140 5 Extended
/dev/ide/host0/bus0/target0/lun0/part5 702 732 248976 82 Linux swap
/dev/ide/host0/bus0/target0/lun0/part6 733 3413 21535101 83 Linux

Here is my etc/fstab:

/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0

Hope this helps thanks for everything so far.

James
 
Old 04-09-2003, 07:46 PM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
The RAID card seems to be the problem, you say it's an ATA133 card in your first post but according to the output of lspci you have a SCSI card?
Quote:
00:09.0 SCSI storage controller: Artop Electronic Corp ATP865 (rev 02)
Subsystem: Artop Electronic Corp ATP865
We need to determine the truth here as a scsi drive will have a different /dev name to an ide drive.
 
Old 04-09-2003, 09:34 PM   #6
MoePhish
LQ Newbie
 
Registered: Mar 2003
Location: Nahville, TN
Posts: 11

Original Poster
Rep: Reputation: 0
Maybe your right on the windows XP device manager it says my device is "acard raid 0 hd0 SCSI Disk Device" Hope this Helps
 
Old 04-09-2003, 10:16 PM   #7
MoePhish
LQ Newbie
 
Registered: Mar 2003
Location: Nahville, TN
Posts: 11

Original Poster
Rep: Reputation: 0
Okay here's the deal in mandrake my device is listed as a SCSI controller, but when I went to try to find a driver for the model (acard ATP-865) it is listed as an IDE Device here's the site I went to

Click Here
 
Old 04-09-2003, 11:14 PM   #8
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Ok, I found an option in the kernel for Artop support (file:/usr/src/linux-2.4.20/drivers/ide/aec62xx.c), but I don't know if your chip is supported yet, check your kernel .config file for the following, CONFIG_BLK_DEV_AEC62XX=y, if it's not set then that maybe why it's not working, if it is set then support for this chip has to be added to the kernel.
 
Old 04-10-2003, 01:50 PM   #9
MoePhish
LQ Newbie
 
Registered: Mar 2003
Location: Nahville, TN
Posts: 11

Original Poster
Rep: Reputation: 0
What Directory would the kernel .config file be in I can't find it in the usr/source directory, however I did find the aec62xxx.c in the dir you mentioned. Do I need to recompile the kernel if I don't find it?

James
 
Old 04-10-2003, 04:38 PM   #10
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
The . before .config means that it's a hidden file and you can usually find it in the top level of the kernel source, it might be in your /boot directory without the dot though, if it is it will have a similar name to your kernel. Look for a text file that starts like the folowing,
Code:
#
# Automatically generated by make menuconfig: don't edit
#
CONFIG_X86=y
# CONFIG_SBUS is not set
CONFIG_UID16=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y
 
Old 04-10-2003, 07:47 PM   #11
MoePhish
LQ Newbie
 
Registered: Mar 2003
Location: Nahville, TN
Posts: 11

Original Poster
Rep: Reputation: 0
I found the file here are the sections that I thought it might be in:
#
# Block devices
#
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_XD=m
CONFIG_PARIDE=m
CONFIG_PARIDE_PARPORT=m

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID5=m
CONFIG_MD_MULTIPATH=m
CONFIG_BLK_DEV_LVM=m

No luck though as you can see CONFIG_BLK_DEV_AEC62XX=y is missing.

Whats Next?

James
 
Old 04-10-2003, 08:16 PM   #12
jimmyz
LQ Newbie
 
Registered: Apr 2003
Posts: 3

Rep: Reputation: 0
Dual Boot with Windows and Linux

First, I am a Linux Newbie so if I am not even up to speed enough to appreciate the true problem please excuse my ignorance.

I just created a dual boot, dual ATA hardrive situation with Win2K and Red Hat Linux. I did alot of reading first and used these sites to set it up. Now it works clean. This entails using the Windows boot loader to load either.

Because you get Linux and not Windows is that the Master Boot Record for Windows got messed up when you installed Linux which is easy to do during the LILO installation if you install it on the MBR instead of a superpartition on your Linux drive. The sites below tell you how to fix it and how to get it working if that is your problem.


http://www.dewassoc.com/kbase/multib..._win2k_fix.htm

http://www.anandtech.com/guides/viewfaq.html?i=58

http://support.microsoft.com/default...b;en-us;311578

Again, if I am in the dark I apologize.

JZ
 
Old 04-10-2003, 08:32 PM   #13
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Do "cat /usr/src/linux/.config | grep AEC62XX", this is what mine outputs,
Code:
bern@grendel bern$ cat /usr/src/linux/.config | grep AEC62XX
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_AEC62XX_TUNING is not set
 
Old 04-12-2003, 03:03 AM   #14
MoePhish
LQ Newbie
 
Registered: Mar 2003
Location: Nahville, TN
Posts: 11

Original Poster
Rep: Reputation: 0
Here it is:

[moephish@d172-16-74-114 moephish]$ cat /usr/src/linux/.config | grep AEC62XX
CONFIG_BLK_DEV_AEC62XX=y
CONFIG_AEC62XX_TUNING=y

It says that aec62xx is there funny?
 
Old 04-12-2003, 04:45 AM   #15
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
OK, the next step involves building a custom kernel, if you want to take it that far.
Here is some reading matter while you decide,

http://www.tldp.org/HOWTO/Kernel-HOWTO.html
 
  


Reply



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
FC4 and Win XP dual boot Sata drives and Raid ChaoticPi Linux - Hardware 2 10-19-2005 11:47 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
Two hard drives for dual boot? globalgreg Linux - Newbie 3 03-02-2005 12:22 AM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 03:28 PM
2 hard drives dual boot almost there Kdiver58 Linux - Newbie 12 02-03-2003 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:20 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