LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-09-2007, 06:39 PM   #1
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Need to modify XP's boot.ini


Thru a comedy of errors, my last resort was to install XP on a partition on my Linux HDD in my lappy (/dev/hda2)

Due to the same procedure, I cannot access my SLackware install ((/dev/hda1)

Nor do I have ANY Slackware disks, nor a fast enough connection to the 'Net right now.

I know that there is a procedure to modify boot.ini to let Slackware boot. If so, then I could install Lilo, then everything would be cool.

Can you point me in the correct direction? Or shpould I look at a different bootmanager that is installable thru XP?
 
Old 04-09-2007, 06:47 PM   #2
Buto
Member
 
Registered: Sep 2004
Location: So Cal
Distribution: Slackware 12
Posts: 60

Rep: Reputation: 16
Did a quick search and I came across this http://www.slackbook.org/html/booting-dual.html.

Did you try using a knoppix boot disk to install LILO? That may be a better choice.
 
Old 04-09-2007, 07:00 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
For a modified boot.ini you would still need the 512 byte sized root sector of your Slackware partition to be present on your Windows partition, and I guess you don't have access to any means of extracting that root sector in Windows anyway (in linux it would be "dd if=/dev/hda1 of=bootsect.lnx bs=512 count=1" to create the file "bootsect.lnx" which you would then have to copy to your Windows C: drive and add it as a boot option in boot.ini).

If your computer is able to boot from a USB stick I would recommend downloading the USB installer image at http://www.slackware.com/~alien/slackboot/usb/ (35 MB in size) and copy that to your USB stick if you have one. That will allow you to boot the Slackware installer and type the command shown after "In a pinch, you can boot your system from here" to get to your Slackware. The rest should be obvious I hope.

Cheers, Eric
 
Old 04-09-2007, 07:06 PM   #4
dexhbr30mg
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Rep: Reputation: 0
Hey Iv'e been booting into slack using a version of grub places in my windows partition. Here's a site that explains this pretty well; its for knoppix but it works all in the same. (The files are about halfway down the page)

http://www.knoppix.net/wiki/Win_Partition

If you follow the steps listed you can write your self in using the menu list you placed in your C:/ drive, no need to boot linux to do this either.

Last edited by dexhbr30mg; 04-09-2007 at 07:08 PM.
 
Old 04-09-2007, 07:19 PM   #5
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Quote:
Originally Posted by Buto
Did you try using a knoppix boot disk to install LILO? That may be a better choice.
To answer that READ MY POST
Quote:
Originally Posted by cwwilson721
Nor do I have ANY Slackware disks, nor a fast enough connection to the 'Net right now.
No disks, no net, so screw Knoppix(Like I'd use that anyway)

My pet fish Eric points out an obvious deficiency: Can't get to the root sector of hda1. Bugger

I am looking at other possibilities though...Alternate Bootmanagers...

I'll letcha know
 
Old 04-09-2007, 07:53 PM   #6
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
How about trying to access your Slackware filesystems from within Windows?

I assume you have at least some connectivity to the 'net since you're posting here. Something like this: Explore2fs or this: rfstool will let you access Linux partitions from within Windows.

Once you have access, then you can copy loadlin (usually installed under /root in Slackware) to your Windows partition and use it to boot into Slackware. Then you can re-run lilo.

Just a suggestion...

Last edited by rkelsen; 04-09-2007 at 08:04 PM.
 
Old 04-10-2007, 09:58 AM   #7
agentc0re
Member
 
Registered: Apr 2007
Location: SLC, UTAH
Distribution: Slackware
Posts: 200

Rep: Reputation: 34
I think i found exactly what you need. doesn't require you to be in linux to modify anything at all (or at least from what i could tell).
http://home.ubalt.edu/abento/linux/r...ualbootNT.html
it does require you to download one thing but it's small, 25KB.

let me know if it works, cuz it seems like it would be a good program to have all around for just in case.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kind souls: help getting Mandriva install 2 boot? edit boot.ini/grub /boot device or NoMoreReinstallMS Linux - Newbie 1 08-09-2006 04:34 AM
GRUB: How to boot WinXP (NTLDR, NTDETECT.COM & BOOT.INI) from boot partition (EXT2) ? Rayen16 Linux - Software 1 05-25-2006 12:09 PM
Slax givin probs at cd boot..says invalid boot.ini Ssilence Linux - Laptop and Netbook 0 02-01-2006 09:42 PM
Dual boot with FC4 and XP removing the partition with boot.ini fakie_flip Linux - Software 1 01-07-2006 02:48 PM
WinXP Won't boot - Write to NTFS Boot.ini File GNewbie Linux - Newbie 9 11-14-2005 12:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration