Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: Canadian Lover on 19 September 2004, 21:19

Title: bootsect.lnx for SuSE
Post by: Canadian Lover on 19 September 2004, 21:19
Help. I'm trying to dual boot windows with linux. I have installed linux, but but now I can't find the bootsect.lnx file. Can anyone help?
Title: bootsect.lnx for SuSE
Post by: WMD on 19 September 2004, 22:01
Never heard of that.  Why would you need it?  :confused:
Title: bootsect.lnx for SuSE
Post by: Canadian Lover on 19 September 2004, 22:23
I need it for the Windows XP boot loader to be able to run linux from my second partition on my hard disk.
Title: bootsect.lnx for SuSE
Post by: WMD on 20 September 2004, 00:43
Why not have Grub do it all?
Title: bootsect.lnx for SuSE
Post by: Canadian Lover on 20 September 2004, 00:50
quote:
Originally posted by WMD:
Why not have Grub do it all?


Windows is on my primary partition. GRUB is for linux only.
Title: bootsect.lnx for SuSE
Post by: Refalm on 20 September 2004, 01:33
quote:
Canadian Lover: Windows is on my primary partition. GRUB is for linux only.


Get LILO (http://www.tldp.org/HOWTO/LILO.html).
Title: bootsect.lnx for SuSE
Post by: Orethrius on 20 September 2004, 01:36
quote:
Originally posted by Canadian Lover:


Windows is on my primary partition. GRUB is for linux only.



Then maybe you want to explain to me HOW I was using Grub to switch between XP and RH9, right up to the point where I FUBAR'd the RedHat install?  Trust me, you can use Grub for that, too.   ;)
Title: bootsect.lnx for SuSE
Post by: WMD on 20 September 2004, 02:55
quote:
Originally posted by Canadian Lover:


Windows is on my primary partition. GRUB is for linux only.


Eh?  Grub doesn't sit on any partition.  It goes in the MBR, which is separate from hda1/2/etc.
Title: bootsect.lnx for SuSE
Post by: worker201 on 20 September 2004, 02:57
Install Windows
Install Linux
Install grub

reboot to test

no problem.
Title: bootsect.lnx for SuSE
Post by: Canadian Lover on 20 September 2004, 04:15
How do I install GRUB?  :confused:
Title: bootsect.lnx for SuSE
Post by: worker201 on 20 September 2004, 04:38
If it isn't included in your installation procedure, I would "man grub" and find out.
Title: bootsect.lnx for SuSE
Post by: udaki on 20 September 2004, 06:04
A major distro like suse would have both grub and lilo in a nice and easy installation format.Which version of suse are you using?
Title: bootsect.lnx for SuSE
Post by: Canadian Lover on 20 September 2004, 06:06
quote:
Originally posted by udaki:
A major distro like suse would have both grub and lilo in a nice and easy installation format.Which version of suse are you using?


9.1 and it failed when suse tried to install grub
Title: bootsect.lnx for SuSE
Post by: insomnia on 20 September 2004, 07:43
Linux 2.6 and NT Windows XP are known to have problems with dual boots...
Title: bootsect.lnx for SuSE
Post by: worker201 on 20 September 2004, 08:28
Not on my computer, they don't.  But FC2 writes grub to the MBR during installation, and it might have some goofy args that it passes or something.

Seriously, the literature is available - I doubt you are the first person to ever be unable to install grub.  Google away.
Title: bootsect.lnx for SuSE
Post by: zao on 20 September 2004, 23:46
On Fedora installation, you can choose which path GRUB will go by checking something like "advanced configuration". That will allow you to choose to install on MBR or first partition. I have noticed some posters did not try that method.
Title: bootsect.lnx for SuSE
Post by: KernelPanic on 21 September 2004, 00:20
It's just a simple grub-install /dev/hda.
Provided of course that you have a config file in /boot/grub/
Title: bootsect.lnx for SuSE
Post by: Canadian Lover on 21 September 2004, 04:44
you can only install grub through linux. I can't use grub-install becauise it's a linux shell script. I can only boot windows  right now

[ September 20, 2004: Message edited by: Canadian Lover ]

Title: bootsect.lnx for SuSE
Post by: Orethrius on 21 September 2004, 05:17
quote:
Originally posted by Canadian Lover:
you can only install grub through linux. I can't use grub-install becauise it's a linux shell script. I can only boot windows  right now

[ September 20, 2004: Message edited by: Canadian Lover ]



This sounds like a personal problem.  You have Windows, right?  Given that, and the fact that you're posting here, you have a live connection, right?  Download and burn Knoppix (http://www.linuxiso.org/distro.php?distro=44) and install Grub that way.  Now your two remaining excuses are incompetence (which I refuse to believe) and laziness (which is probable, given my own tendency towards it     ;)    ).

[ September 20, 2004: Message edited by: Midnight Candidate/BOB ]

Title: bootsect.lnx for SuSE
Post by: insomnia on 21 September 2004, 06:32
quote:
Originally posted by worker201:
Not on my computer, they don't.  But FC2 writes grub to the MBR during installation, and it might have some goofy args that it passes or something.

Seriously, the literature is available - I doubt you are the first person to ever be unable to install grub.  Google away.



This has nothing to do with Fedora.
Parted can corrupt the hard disk geometry from your partition table in any 2.6 installation.
Parted needs to get the right geometry from the kernel.
This isn't always correct using 2.6.
See:
http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html (http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html)

PS: You can avoid this by adding the the rigth geometry when you boot for it's installation.
Use fdisk to see it's right size.

[ September 20, 2004: Message edited by: insomnia ]

Title: bootsect.lnx for SuSE
Post by: pofnlice on 2 October 2004, 12:42
Within the last 5 days I readded SuSE 9.1 and XP to dual boot on my machine. It dual boots through grub fine and SuSE did it all for me. I didn't even have to mess with the boot loader. Only problem I had was it couldn't create a swap file (some googling revealed this was due to the NTFS partition on hda1 (c)). So I don't have a swap file but SuSE was kind enough to tell me how to do it later then said "I'll finish the installation now, thank you."

I ran into similar problems though when I tried to set up my machine for XP on one disc and SuSE on the other. What I figured out was I basically had to use yast to tell grub where the boot info for XP was. Unfortunately, a childs finger loved hitting the power switch and crashed it all.

While reinstalling, I discovered it was much easier to install XP first one one drive only. Then Install SuSE on the second and tell it whre to put all those partitions and files. It's worked quite dreamy since. As soon as I unlazy myself, I'll put a swap partition back in.