You are not logged in.
Pages: 1
I hear rumours that if i install Windows after linux, it will clear my mbr and grub will not work anymore...
If this is true, is there anyway to avoid it or reboot grub into mbr after i installed windows?
Dunix the new Devil amongst Devils
Offline
just make yourself a linux boot disc so you can boot back to linux and reinstall grub.
Maybe there's a grub installer for windwos, who knows.
Offline
As this is the newbie corner could you point me in the direction where ill make a boot disk?
Dunix the new Devil amongst Devils
Offline
If you want boot floppy disks:
ftp://ftp.archlinux.org/images/
You'll need to use dd to do it. I don't know the options.
You can use rawrite2.exe if you have access to a Windows machine.
You can probably also boot from the cd-rom
What the Windows installation will do will depend on the manufacturer's CD.
For my Compaq laptop, I just have a recues disk which wipes everything and installs the original setup. :twisted:
You should backup the config files (/etc) and your home directory.
That's why it is usually better to install Windows first.
Offline
You can use the Arch install CD as a rescue disk, or a live CD (knoppix, amlug, etc), or any old boot floppy such as toms root boot (http://www.toms.net/rb/).
Basically, you reboot with the boot rescue disk in the drive, access the grub configuration file on the linux partition, and install it with grub install.
Ok, I've never done this with grub, only lilo, but I assume its basically the same.
Dusty
Offline
the only thing you should know, if booting with a bootdisc/bootfloppy/lifeCD/... is what partition your root partition is
[damir@Asteraceae ~]$ mount | grep " / "
/dev/hda2 on / type reiserfs (rw)
The impossible missions are the only ones which succeed.
Offline
in the future, don't install grub on your first partition
when i install, i usually make 4 primary partitions, let's say:
a,b,c,d
i give windows a,b, then make c about 200mb for /grub and make d logical with a d1, and d2 extended.
d1 is /, d2 is swap
when you're done, make c the 'active' partition, so your bios will try to boot from there.
then if you install windows, your only concern is switching back the active partition and not resetting up grub. also, if you nuke your linux install and want windows back the way it was, make 'a' your 'active' partition.
hope that helps
Offline
so you do not need grub to run linux and windows (eek!).
just install all your software and use the miKrosoft boot manager. it s pretty simple.
have a look at o'reillys 'linux in a nutshell' for installation information.
there will not be any problem.
if you dont find it i ll print it in this forum.
so ask me.
ame
Offline
As jp_fielding mentioned, Windows _MUST_ occupy the first partition on the primary master disk. I just thought I would clarify this, since you are installing Windows after installing linux..
.: lytez :.
Offline
Thanks for all your posts...
Forgot my Xp cd at work, so will have to wait to monday, to try it out...
But what seems most easy for me to do, if i understood right...
Install Windows, and then place a Archlinux cd, and reinstall grub from it, am i right in that?
Dunix the new Devil amongst Devils
Offline
Install Windows, and then place a Archlinux cd, and reinstall grub from it, am i right in that?
yeah, the concept is that easy.
although you have to be able to surpass some warning that you may face concerning 'wrong partition table', or anyways booting from LiveCD means that you have to mount the arch partition, and then point to grub.conf
which should be modified to point to the correct stuff
because your archroot would be under something like /mnt/arch
I with lilo had some problems in the past.
I hope I won't have to play with so many options and ugly hacks again..
If I were you [of I'm not cause I use lilo], I wouldn't install XP at all, and just use them at work [if you really have to].
of course you can try and you will be sucessful in the end, but just try a day when you feel lucky
or try the GOOGLE or this community with more specific problems that you may face trying.
That's all
Offline
Well...
I only use Xp for Games... Wine doesn't really seem to do it for me...
Dunix the new Devil amongst Devils
Offline
Install Windows, and then place a Archlinux cd, and reinstall grub from it, am i right in that?
If you have the Arch installer CD (or boot floppy), you can also use it as a boot disk. In boot prompt type (if your installed Arch linux is in partition hda3):
vmlinuz root=/dev/hda3
When your system is booted, run Grub:
grub-install /dev/hda
Markku
Offline
My lilo is down ...
Now i'm on knoppix but i can't boot arch from knoppix i try vmlinuz root=/dev/hda5 and vmlinuz26 root=/dev/hda5 ... witout no results
its my lilo on Arch
boot=/dev/discs/disc0/disc
default=Arch
timeout=50
lba32
prompt
image=/boot/vmlinuz26
label=arch
root=/dev/discs/disc0/part5
read-only
What i must write to boot it ?
Plz for fast reply
Offline
Try booting into normal knoppix. Then your Arch partition is usually automatically mounted. open a terminal. cd to the /mnt/hdxy/etc folder where hdxy is the drive that contains your Arch root partition. run:
lilo -C lilo.conf
This should work, assuming your Arch lilo entry is properly working. If not, try editing the file first and then running the command.
Dusty
Offline
Try booting into normal knoppix. Then your Arch partition is usually automatically mounted. open a terminal. cd to the /mnt/hdxy/etc folder where hdxy is the drive that contains your Arch root partition. run:
lilo -C lilo.conf
This should work, assuming your Arch lilo entry is properly working. If not, try editing the file first and then running the command.
Dusty
root@ttyp0[etc]# lilo -C lilo.conf
/dev/mapper/control: open failed: No such device
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Is device-mapper driver missing from kernel?
Incompatible libdevmapper 1.00.19-ioctl (2004-07-03)(compat) and kernel driver
Fatal: raid_setup: stat("/dev/discs/disc0/disc")
Offline
My lilo is down ...
Now i'm on knoppix but i can't boot arch from knoppix i try vmlinuz root=/dev/hda5 and vmlinuz26 root=/dev/hda5 ... witout no results
I forgot to mention, the name of kernel is not according to lilo but boot CD's (or floppy). In Knoppix 3.6 it is "linux26" and "linux24".
linux26 root=/dev/hda5
You can also use linux24 if kernel 2.6.x is not in the CD you are using.
Markku
Offline
I boot it from ArchCD vmlinuz root=/dev/hda5 and it's work
Offline
Pages: 1