Unix Technical Forum

using boot.ini in XP

This is a discussion on using boot.ini in XP within the Linux Operating System forums, part of the Unix Operating Systems category; --> Beginner !! getting sick of CGYWIN need the real thing. I want to use XP's boot.ini to dual boot ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 05:14 AM
steve henderson
 
Posts: n/a
Default using boot.ini in XP

Beginner !! getting sick of CGYWIN need the real thing.

I want to use XP's boot.ini to dual boot because it's a new laptop and
I don't want to screw up my Microsoft/ Sony support Need Help /
Ideas ???

Instructions from Redhat.com

1) Boot into the Red Hat Linux installer, and install into the second
partition,
(I can do this OK!), I choose to let XP boot.ini handle the booting do
I just tell it not to use Lilo or grub?

2) Boot into Linux

How do I do a boot into Linux? Making a boot floppy won't work my
laptop only has a CD-RW. Can I just use the install CD to do this boot
or get one from internet somehow?

3) Copy the boot image from the first sector of your boot partition.
You'll want to take 512 bytes of this partition once, and write it out
to a file called bootsect.lnx. The entry should look like:

dd if=/dev/hdX of=/bootsect.lnx bs=512 count=1

How can this work if the XP partition is NTFS and could somone
(explain / tell me) the exact comand to use if I have XP on the first
partion and want SUSE 9 to start on the second partion.

5. Move that file onto your c:\ drive and edit boot.ini, adding the
following line: c:\bootsect.lnx="Linux" (this is also easy enough to
do)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 05:14 AM
Andy Fraser
 
Posts: n/a
Default Re: using boot.ini in XP

In comp.os.linux.setup, steve henderson uttered these immortal words:

> Beginner !! getting sick of CGYWIN need the real thing.
>
> I want to use XP's boot.ini to dual boot because it's a new laptop and
> I don't want to screw up my Microsoft/ Sony support Need Help /
> Ideas ???
>
> Instructions from Redhat.com
>
> 1) Boot into the Red Hat Linux installer, and install into the second
> partition,
> (I can do this OK!), I choose to let XP boot.ini handle the booting do
> I just tell it not to use Lilo or grub?


Install LILO or GRUB to the second partition rather than the MBR. /dev/hda2
for the second primary partition.

> 2) Boot into Linux
>
> How do I do a boot into Linux? Making a boot floppy won't work my
> laptop only has a CD-RW. Can I just use the install CD to do this boot
> or get one from internet somehow?


Boot in rescue mode from your installation CDs if that's an option or get
Knoppix or System Rescue CD and boot from either of those.

> 3) Copy the boot image from the first sector of your boot partition.
> You'll want to take 512 bytes of this partition once, and write it out
> to a file called bootsect.lnx. The entry should look like:
>
> dd if=/dev/hdX of=/bootsect.lnx bs=512 count=1
>
> How can this work if the XP partition is NTFS and could somone
> (explain / tell me) the exact comand to use if I have XP on the first
> partion and want SUSE 9 to start on the second partion.


If you're using ext2 or ext3 you can get the file across to Windows using
explore2fs. If you're on a network copy bootsect.lnx to a network share or
burn it to a CD-RW and copy it from there.

/ = the root of the filing system.

> 5. Move that file onto your c:\ drive and edit boot.ini, adding the
> following line: c:\bootsect.lnx="Linux" (this is also easy enough to
> do)


Ok.

--
Andy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 05:14 AM
steve henderson
 
Posts: n/a
Default Re: using boot.ini in XP

Thanks so much !It Works! I used a small Fat FS to move image to C:\

So nice to have Linux on my laptop Apache PHP Mysql all work like my
books say the will. :-)

Andy Fraser <andyfraser31@hotmail.com> wrote in message news:<9hn732-lf1.ln1@news.linuxuser.org.uk>...
> In comp.os.linux.setup, steve henderson uttered these immortal words:
>
> > Beginner !! getting sick of CGYWIN need the real thing.
> >
> > I want to use XP's boot.ini to dual boot because it's a new laptop and
> > I don't want to screw up my Microsoft/ Sony support Need Help /
> > Ideas ???
> >
> > Instructions from Redhat.com
> >
> > 1) Boot into the Red Hat Linux installer, and install into the second
> > partition,
> > (I can do this OK!), I choose to let XP boot.ini handle the booting do
> > I just tell it not to use Lilo or grub?

>
> Install LILO or GRUB to the second partition rather than the MBR. /dev/hda2
> for the second primary partition.
>
> > 2) Boot into Linux
> >
> > How do I do a boot into Linux? Making a boot floppy won't work my
> > laptop only has a CD-RW. Can I just use the install CD to do this boot
> > or get one from internet somehow?

>
> Boot in rescue mode from your installation CDs if that's an option or get
> Knoppix or System Rescue CD and boot from either of those.
>
> > 3) Copy the boot image from the first sector of your boot partition.
> > You'll want to take 512 bytes of this partition once, and write it out
> > to a file called bootsect.lnx. The entry should look like:
> >
> > dd if=/dev/hdX of=/bootsect.lnx bs=512 count=1
> >
> > How can this work if the XP partition is NTFS and could somone
> > (explain / tell me) the exact comand to use if I have XP on the first
> > partion and want SUSE 9 to start on the second partion.

>
> If you're using ext2 or ext3 you can get the file across to Windows using
> explore2fs. If you're on a network copy bootsect.lnx to a network share or
> burn it to a CD-RW and copy it from there.
>
> / = the root of the filing system.
>
> > 5. Move that file onto your c:\ drive and edit boot.ini, adding the
> > following line: c:\bootsect.lnx="Linux" (this is also easy enough to
> > do)

>
> Ok.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 05:14 AM
Andy Fraser
 
Posts: n/a
Default Re: using boot.ini in XP

In comp.os.linux.setup, steve henderson uttered these immortal words:

> Thanks so much !It Works! I used a small Fat FS to move image to C:\


That's yet another way. Choice, choice, choice. )

PS Please don't top post.

--
Andy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 05:16 AM
steve henderson
 
Posts: n/a
Default Re: using boot.ini in XP

Just so I do this thing corectly in the future what dose "top post"
meen.

I was Just letting you know I did alternative to small part of your
instruction, because this small part was difficult for me. Is this the
topping you refer to? Your way seemed much more logical I just could
not seem to pull it off, regardless without the other 3 or 4 steps
you gave me it would have been imposible for me to pull this of.

Topping of may also mean adding usless info like thanks, I dont know?

Andy Fraser <andyfraser31@hotmail.com> wrote in message news:<6k2932-m14.ln1@news.linuxuser.org.uk>...
> In comp.os.linux.setup, steve henderson uttered these immortal words:
>
> > Thanks so much !It Works! I used a small Fat FS to move image to C:\

>
> That's yet another way. Choice, choice, choice. )
>
> PS Please don't top post.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-18-2008, 05:16 AM
Bit Twister
 
Posts: n/a
Default Re: using boot.ini in XP

On 6 Oct 2004 20:56:13 -0700, steve henderson wrote:
> Just so I do this thing corectly in the future what dose "top post"
> meen.


You may want to read http://www.caliburn.nl/topposting.html
and/or http://www.dickalba.demon.co.uk/usen.../faq_topp.html

Please use "alt.test" or any of the 400+ test groups ending in
..test to adjust/test your news reader to make it quit top posting.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:42 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com