View previous topic :: View next topic |
Author |
Message |
leprasmurf n00b
Joined: 23 Jul 2004 Posts: 20 Location: Lousiana
|
Posted: Fri Jul 23, 2004 10:19 am Post subject: Mixed interface dual-boot |
|
|
Ok, I've been messing with this for the past 5-6 hours, and I've decided to go to bed and hope someone posts here by tomorrow...
I've been running a desktop with a regular ATA hard drive. I have been running windows xp and have it configured just so. I recently bought a SATA drive and attempted to install it, as it turns out the controller for the SATA seems to take precedence over the ATA controller.
That being said, I figured this would be a wonderful opportunity to gain experience with dual booting a system. I've installed gentoo from stage1, and I seem to be running into trouble now that I've rebooted and am trying to run on my own steam.
proc: athalon xp 2000+
mb: Asus A7N8x Deluxe
nic (onboard): 3com
nic (onboard): Nvidia
bios flash: updated 22Jul04
/dev/ide/host2/bus0/target0/lun0/part1 = /dev/hde = 80gig SATA
part1:ext2:boot
part2:linux swap
part3:reiserfs:root
part4:unformatted
/dev/ide/host0/bus0/target0/lun0/part1 = /dev/hda = 120gig IDE
part1:ntfs:c drive (40gig)
part2:extended
part5:ntfs:videos(75Gig)
part6:ntfs:swap(2gig)
install: i686, stage1
bootloader: Lilo
errors recieved:
boot linux:
Code: |
........
Net4: Unix domain sockets 1.0/smp for Linux NET4.0.
ds: no socket drivers loaded!
VFS: Cannot open root device "2103" or 21:03
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 21:03
|
boot windows:
(as of 5 minutes of waiting, wonder what would happen if I left iton all night:-)
Code: |
boot: windows
Loading windows
|
/sbin/lilo:
Code: |
Warning: '/proc/partitions' does not match '/dev' directory structure.
Name change: '/dev/ide/host2/bus0/target0/lun0/disc' -> '/dev/hde'
The kernel was compiled with DEVFS_FS, but 'devfs=mount' was omitted as a kernel command-line boot parameter; hence, the '/dev' directory structure does not reflect DEVFS_FS device names.
Warning: /dev/hde is not on the first disk
added gentoo *
added windows
|
I tried using grub, but I ran into a problem with the kb not working during the menu screen, and I couldn't tell if I had the hd numbering scheme right. Incidentally, since I started this project, for some reason, my booting process has increased substancially. Can't figure out if its 'cause of the new drive, or screwing with the MBRs. Oh, one other thing, I seemed to have shot the mbr on /dev/hda and fdisk /mbr from a boot disk didn't work. Anyway, I've been searching through the forums, and I think I'm the only one dumb enough to try this configuration:-D but any help provided would be useful...
lilo.conf:
Code: |
boot=/dev/hde
prompt
timeout=300
default=gentoo
#non-genkernel users
image=/boot/kernel-2.4.25-gentoo
label=gentoo
read-only
root=/dev/hde3
#The next to lines are only if you dualboot with a Windows system.
#In this case, Windows is hosted on /dev/hda1
other=/dev/hda1
label=windows
|
|
|
Back to top |
|
|
starachna Tux's lil' helper
Joined: 17 Apr 2003 Posts: 104 Location: south africa
|
Posted: Fri Jul 23, 2004 11:01 am Post subject: hi |
|
|
hello your config looks good, according to me cept for the windows part, try adding this to lilo.conf for gentoo
please note append ...
Code: | image = /boot/vmlinuz-2.6.5-gentoo-r1
root = /dev/hda4
label = Gentoo2.6.7
append = "root=/dev/hda4"
read-only # read-only for checking
|
additionally, did you compile reiserfs into your kernel, not as a modules, also take not of /etc/fstab ...
Code: | # noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
|
and for the windows part ...
Code: | other = /dev/hdb1
#other = /devices/discs/disc0/part1
label = Windows
table = /dev/hdb |
i'm going on holiday now so all the best _________________ http://www.3am.co.za - za psy trance |
|
Back to top |
|
|
00tux n00b
Joined: 30 May 2004 Posts: 27 Location: British Columbia, Canada
|
Posted: Fri Jul 23, 2004 10:41 pm Post subject: |
|
|
I'm a bit of a noob myself but have set-up dual boot 3 times now (1red hat, 1 mdk, 1 gentoo) and so far I've only found one problem. Try going into your bios and changin the boot detection (i think that is what it is called) from auto to LBA. _________________ "But I don't wanna be a pirate" |
|
Back to top |
|
|
leprasmurf n00b
Joined: 23 Jul 2004 Posts: 20 Location: Lousiana
|
Posted: Sat Jul 24, 2004 5:49 am Post subject: try number 2 |
|
|
ok, I changed the settings in my lilo.conf to this:
Code: |
boot=/dev/hde
prompt
timeout=300
default=gentoo
#non-genkernel users
image=/boot/kernel-2.4.25-gentoo
label=gentoo
read-only
root=/dev/hde3
append="root=/dev/hde3"
#The next to lines are only if you dualboot with a Windows system.
#In this case, Windows is hosted on /dev/hda1
other=/dev/hda1
label=windows
table = /dev/hda
|
and I'm not sure what to look for in my fstab, but here it is:
Code: |
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hde1 /boot ext2 defaults 1 1
/dev/hde3 / ReiserFS noatime 0 0
/dev/hde2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
|
unfortunately the changes to my lilo.conf didn't seem to change anything...I'm still getting the same errors as before...Thanks for the help |
|
Back to top |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Sat Jul 24, 2004 1:02 pm Post subject: |
|
|
kill the captial letters in reiserfs. llinux is case sensitive
chris |
|
Back to top |
|
|
leprasmurf n00b
Joined: 23 Jul 2004 Posts: 20 Location: Lousiana
|
Posted: Mon Jul 26, 2004 5:45 am Post subject: ok, got it |
|
|
Ok, somehow I've patched it all together. It was definately my kernel...I emerged genkernel and used it to reconfigure and recompile my kernel...that made the linux side work, and switching between grub and lilo so much fubar'd my windows side, so I had to use the recovery utility built into the cd-rom to fix both my mbr and boot sector...finally I ran lilo to rewrite the mbr on hda.....success...so now when I boot up, it goes to the lilo screen, if i select windows it boots windows, and if I select gentoo it goes to gentoo...next step is configuring the kernel properly...fun stuff...thanx for all your help
tim |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|