You are not logged in.
Hi,
I am trying to setup DUAL Boot Windows-XP Archlinux on a Compaq nc6320
I want to load linux from the Window NT loader I have only a " - " in the left uppercorner when I select --linux--
[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"
c:\boot.lnx="-- Linux--"
Although the boot.lnx is not a text file I could read .... è*·ëþGRUB ·Geom·Hard Disk·Read· Error·»·´Í¬<·uô÷··········
I have a disk of 80 byte
Sda1 NTFS Windows XP 40Gb
Sda3 7 Mb Grub Bootmanager installed here (this was a unused space here)
Sda2
Sda5 NTFS, about 26 Gbyte
Sda6 /boot 130 Mb
Sda7 swap 1024 Mb
Sda8 / 9,7 Gb > Arclinux 0.8
I made the file boot.lnx this way
dd if=/dev/sda3 of=boor.lnx bs=512 count=1
Possible I have problems with the Cylindrer 1024 border ?
Due to company base policy I would like to avoid changing MBR and first ntfs partiton.
Any idea what oher solutions there are ? Thanks.
I id not found LBA support in bios setup.
http://www.geocities.com/epark/linux/gr … HOWTO.html
Last edited by go4it (2007-01-29 15:29:33)
Offline
Whenever I've put linux on the same disk as windows I've always used lilo to handle the booting by installing the linux bootloader to the "/root" of the linux partition, before that I would flag the partition as bootable with cfdisk while I was doing my partitioning and untoggle the boot flag for windows, this was also reversible so it never harmed my windows bootloader.
I would make an entry like this if I was using lilo:
# Partition 3: Windows XP Home
other = /dev/hda1
label = WinXP
and then run lilo for the change to stick.
In grub I would imagine you would have to add something like this:
title WindowsXP
rootnoverify (hd0,0)
chainloader +1
makeactive
I now just keep linux on its own seperate drive, to give you an idea how that works this is what my grub looked like last week, I repartitioned and only have arch on there now, so far..... , keep in mind my windows is actually on my second drive, hence the need for the "map" entries, reading up a bit on grub would be to your advantage, its hdd naming scheme is a bit confusing at first, but once ya get the hang of it you realise how powerful and usefull it can be, I love the password and fallback features.
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,1)
# kernel /boot/kernel-genkernelreal_root=/dev/sda2
# initrd /boot/initramfs-genkernel
#boot=/dev/sda2
default=0
timeout=120
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
password --md5 XXXXXXXXXXXXXXXXXXXXXXXXXXX
title Sabayon Linux x86 3.25
root (hd0,1)
kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r4 root=/dev/ram0 ramdisk=8192 real_root=/dev/sda2 quiet init=/linuxrc splash=silent,theme:sabayon CONSOLE=/dev/tty1 pci=nomsi vga=0x31b
initrd /boot/initramfs-genkernel-x86-2.6.19-gentoo-r4
title Windows XP Professional
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
makeactive
title VectorLinux 5.8 Std Gold
root (hd0,2)
kernel /boot/vmlinuz root=/dev/sda3 ro vga=795
title Arch Linux Voodoo
root (hd0,4)
kernel /boot/vmlinuz26 root=/dev/sda5 ro vga=795
initrd /boot/kernel26.img
Last edited by RabidWolf (2007-01-31 12:32:39)
Offline
So, you cannot install another bootloader due to company policy? If so it may be easier to use a live distro on a USB device.
Offline
Whenever I've put linux on the same disk as windows I've always used lilo to handle the booting by installing the linux bootloader to the "/root" of the linux partition, before that I would flag the partition as bootable with cfdisk while I was doing my partitioning and untoggle the boot flag for windows, this was also reversible so it never harmed my windows bootloader.
Thanks RabidWolf,
I just flagged the linux bootpartition /dev/had6 as Bootable, Windows did not start anymore.
Remove this flag and Windows started again.....exciting....
I will try to boot from a linux partition in the weekend, I need my pc for my job tomorrow. Can n't take to much risks now.
I have Arch/Grub on my home pc, so know the basics of Grub. but I have Arch on a second disk there.
Go4it.
Offline
So, you cannot install another bootloader due to company policy? If so it may be easier to use a live distro on a USB device.
Well whenever I have a problem with my Windows XP, the ICT Guys will say: You have add something not supported. This must be the cause of your problem, no further discussion.
So I have to disable non Bill bootloaders to get Support for my Windows XP.
Last edited by go4it (2007-01-31 22:22:12)
Offline
You could, install the boot loader to a floppy and boot it from that. I believe that RedHat used to force you to make some weird rescue diskette. Maybe you can do something similar for when you want Arch to boot. Not pretty, but It also makes it that no one can boot into your Arch Partition without that disk. Just a thought.
/swogs
Open Toes; Open Mind; Open Source.
Offline