You are not logged in.
Pages: 1
I have two hard disk,first boot ide,second boot sata.I install grub and archlinux on the ide disk. The problem is the ide one can boot ,but the sata one can't boot?(I have installed winxp and archlinux on this disk).
ide disk ------hda
nec dvd-rom-----hdc
sata disk -------- I don't know
Offline
so you have arch installed on ide & sata?
well did you have to install drivers for xp to install on sata? its been my experience xp needs 3rd party drivers for sata
was ide plugged in when xp installed on sata?
your bios if set the way you say recognizes the ide as 1st drive , it also tells xp that the sata drive is 2nd where xp is installed correct? xp dont like to be pushed around so if it installed as 1st ddrive & is now the 2nd drive it cant take that & will refuse to boot. have you tried xp safemode? if im right youll stop loading at mup.sys in safe mode, if you even get that far
or you could tell the bios to boot from sata where you say xp & arch are.
the sata drive should come up as /dev/sda
Offline
In the beginning,I set the sata as the 1st drive in bios.I install xp and archlinux both on ide and sata.On ide,the arch partition is recognized as sda8.
Then,I want to use ide as the 1st,so I set ide as 1st in bios.And then,I installed archlinux 0.8 from cd to the "sda8" partition,But only install grub package.In the "/boot/grub/menu.lst",I set ide as hda.The ide boot success.
But I can't boot sata.I don't know how to called it in grub.I try "hd0" , "hd1","sd",also failed.
Offline
I'm having trouble getting grub to dual boot an IDE and SATA also so I'm not the best source for advice but here goes. If you are trying to boot Arch from your sda8 partition, for example, I think you want to use the following drive numbering:
root (hd1,7)
kernel /boot/vmlinuz26 root=/dev/sda8 ro
Grub calls all drives hd* whether they are IDE or SATA but once it hands off to Linux you want to use the hda*, sda* designations as you would in fstab. This worked for me in booting a 0.7.1 Arch install on my SATA although I'm still having trouble getting Arch 0.8 to boot.
If this doesn't work, try posting your grub configuration and the error messages you get when it fails and maybe someone else can help you.
Offline
Update:
My problem was using the wrong drive designation. In the Arch installed on my IDE drive, where my grub menu.lst is located, the drives are recognized as hda and sda but the Arch installed on my SATA drive with Arch 0.8 designates the drives as sda and sdb. This would change the examlpe in my last post to:
root (hd1,7)
kernel /boot/vmlinuz26 root=/dev/sdb8 ro
Good luck.
Offline
Thank you!I have use persistent block device name to resolve it.
http://wiki.archlinux.org/index.php/Per … ice_naming
"/boot/grub/menu.lst"
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/hda (hd0)
# /dev/hdb2 (hd1,1)
# /dev/hda3 (hd0,2)
#
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# general configuration:
timeout 3
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
title windows (on 80G /dev/hda0)
root (hd0,0)
chainloader +1
# (0) Arch Linux
title Arch Linux(on 80G /dev/hda8)
root (hd0,7)
kernel /boot/vmlinuz26 root=/dev/hda8 ro
initrd /boot/kernel26.img
# (1) Arch Linux(on 80G /dev/sda9)
title Arch Linux Fallback
root (sd0,8)
kernel /boot/vmlinuz26 root=/dev/sda9 ro
initrd /boot/kernel26-fallback.img
title LFS 6.1.1(on 80G /dev/hda8)
root (hd0,7)
kernel /boot/lfskernel-2.6.11.12 root=/dev/hda8
title Arch Linux (on 250G /dev/sda14)
root (hd1,13)
kernel /boot/vmlinuz26 root=/dev/disk/by-label/sata14_arch ro
initrd /boot/kernel26.img
#title windows (on 80G /dev/hda0)
#root (hd1,0)
#chainloader +1
title windows (on 250G /dev/sda0)
root (hd1,0)
chainloader +1
Offline
Pages: 1