LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-31-2002, 09:42 PM   #1
hugosoto
Member
 
Registered: May 2002
Location: us
Distribution: redhat
Posts: 48

Rep: Reputation: 15
lilo and w2k ntfs file system


Hi, well this is a weird problem, I installed first w2k using ntfs, and then I load redhat 7.3 using lilo, so when I tryed to boot in to windows lilo does not boot in to it, so does any body knows how tofix it, thanks
 
Old 06-01-2002, 12:19 AM   #2
sakeeb
Member
 
Registered: Apr 2002
Posts: 270

Rep: Reputation: 31
what error message it shows?
 
Old 06-01-2002, 12:29 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
What happens when you try to boot into it? What do you DO to try to boot into it? NTFS is not a bootloader, it's a filesystem type. LILO IS a boot loader, not a filesystem type. So you are speaking of 2 different things altogether. LILO will boot W2k though, if it's not, you may want to "reinstall". It may be easier for you than editing your lilo.conf file.

If you want to try the editing way, here ya go:

Open /etc/lilo.conf with your favorite text editor.

add the lines (if they aren't already there)(and do not add the '#' signs, those are just to show you what to add)
#

boot=/dev/hdx1 (where X is hard drive a or b)
label=Windows2k
read-only

#

Then open a terminal and type "/sbin/lilo;reboot" without the quotes. This will run lilo and the reboot.
 
Old 06-01-2002, 07:49 AM   #4
AcidRain
Member
 
Registered: May 2002
Location: Greece
Distribution: Mandrake 8.1
Posts: 59

Rep: Reputation: 15
Do you have two hard disk? or one with two partition?
Tell me so i can tell u exact the command to use.

AcidRain
 
Old 06-02-2002, 01:12 PM   #5
hugosoto
Member
 
Registered: May 2002
Location: us
Distribution: redhat
Posts: 48

Original Poster
Rep: Reputation: 15
more info

sorry for the lack of detalles . but here is the info
I have w2000 using ntfs and redhat 7.3 , I had 2 hard disk, one is for os's and other is for backup. so my first device is holding the os ( w2000 and linux) so when I boot I see the shadown man ( the red hat logo ) and 2 options Linux and dos so I chosse dos I get a error mesages something like this , error loading dos at 0x000 , I try to fix from kde concontron center, form lilo but does not work, ( ther wird thing is that if I use w2000 using fat 32 it works) so my questin is how can I be able to boot in to windows using ntfs file system
 
Old 06-02-2002, 03:13 PM   #6
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
i think it's a problem for lilo to reside on ntfs partition, since the ntfs write support isn't supported, properly.
 
Old 06-03-2002, 04:20 AM   #7
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Rep: Reputation: 30
It simply might be that lilo (for some reason) is not aware oif your ntfs/win2k setup. Follow what MasterC said to get lilo set up correctley. NTFS can be booted no problem. Lilo simply "points" to where boot up information/commands can be found. So when u point it to /dev/hdx (where X is either an a or a b) t simply points to the drive/paritition that contains windows, and will have windows take over with the boot.

Anyways, follow what MasterC suggested and let us know if it works or not
 
Old 06-03-2002, 09:48 AM   #8
boblucci
Member
 
Registered: Dec 2001
Location: New Jersey
Distribution: RedHat 9
Posts: 34

Rep: Reputation: 15
follow this link ans it will show youo how to dual boot ....

http://www.linuxjunior.org/cgi-bin/p...=Display&id=37
 
Old 06-05-2002, 06:20 PM   #9
hugosoto
Member
 
Registered: May 2002
Location: us
Distribution: redhat
Posts: 48

Original Poster
Rep: Reputation: 15
I try the fix lilo.conf but does not work

hi all, thanks for you help guys. I did try the fix of editing lilo.conf but the entry for windows 2000 just does not show at lilo gui boot selectro

here is my config. file


boot="/dev/hda"
prompt
timeout="50"
message=/boot/message
root=/dev/hda8
linear
lock

image="/boot/vmlinuz-2.4.18-3"
label="2.4.18-3"
root="/dev/hda8"
read-only
initrd="/boot/initrd-2.4.18-3.img"

image="/usr/src/linux/arch/i386/boot/bzImage"
label="Linux_Compiled"
root="/dev/hda8"
read-only
optional

other=/dev/hda1
label="NT"

other=/dev/hdd2
label="DOS"

image="/dev/hda1"
root="/dev/hda8"
initrd="/boot/initrd-2.4.18-3.img"



so pleas let me know how can I fix this problem

is driving me crazy
 
Old 06-05-2002, 11:14 PM   #10
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Make your lilo.conf look like the one below. Don't forget to make a copy of your lilo.conf before you edit it.


boot="/dev/hda"
prompt
timeout="50"
message=/boot/message
linear
lock

image="/boot/vmlinuz-2.4.18-3"
label="2.4.18-3"
root="/dev/hda8"
read-only
initrd="/boot/initrd-2.4.18-3.img"

image="/usr/src/linux/arch/i386/boot/bzImage"
label="Linux_Compiled"
root="/dev/hda8"
read-only
optional

other=/dev/hda1
label="w2k"


After making these changes, run the command
/sbin/lilo. You must run this command after editing the lilo.conf or the changes you made won't take effect.
 
Old 06-06-2002, 12:15 AM   #11
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
I believe to dual boot with Win2000, you will need to use Win2K bootloader. Here is how Slackware show to dual boot WinNT/2000/XP:

This is the second most common dual booting situation. Windows NT presents several more problems than dual booting between Windows 9x and Linux. The one we are most concerned with is if the Master Boot Record is overwritten with LILO, NT will not boot successfully. Therefore, we must use the OS Loader that comes with Windows NT. The steps below show how you should setup a Windows NT and Linux dual boot system.


Install Windows NT

Install Linux, making sure LILO is installed to the superblock of the Linux partition

Get the first 512 bytes of the Linux root partition and store it on the Windows NT partition

Edit C:\BOOT.INI under Windows NT to add a Linux option

Installing Windows NT should be fairly straightforward, as should installing Linux. From there, it gets a little more tricky. Grabbing the first 512 bytes of the Linux partition is easier than it sounds. You will need to be in Linux to accomplish this. Assuming your Linux partition is /dev/hda2, issue this command:

# dd if=/dev/hda2 of=/tmp/bootsect.lnx bs=1 count=512



That's it. Now you need to copy bootsect.lnx to the Windows NT partition. Here's where we run into another problem. Linux does not have stable write support for the NTFS filesystem. If you installed Windows NT and formatted your drive as NTFS, you will need to copy this file to a FAT floppy and then read from it under Windows NT. If you formatted the Windows NT drive as FAT, you can simply mount it under Linux and copy the file over. Either way, you will want to get /tmp/bootsect.lnx from the Linux drive to C:\BOOTSECT.LNX on the Windows NT drive.

The last step is adding a menu option to the Windows NT boot menu. Under Windows NT open a command prompt.

C:\WINNT>cd \
C:\>attrib -r -a -s -h boot.ini
C:\>edit boot.ini



Add this line to the end of the file:

C:\bootsect.lnx="Slackware Linux"



Save the changes and exit the editor. When you reboot Windows NT, you will have a Linux option on the menu. Choosing it will boot into Linux.
 
  


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
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 03:27 AM
The FAT/NTFS file system oookiezooo General 1 12-02-2005 01:54 PM
ntfs file system nobu Linux - General 2 04-08-2004 12:04 AM
NTFS file system ilengna Linux - Hardware 8 10-08-2003 05:32 PM
mount the ntfs file system jdevanand Linux - General 3 01-22-2002 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:46 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