LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   dual boot, W2k NTFS/Red Hat (https://www.linuxquestions.org/questions/linux-software-2/dual-boot-w2k-ntfs-red-hat-165355/)

andyoye 04-02-2004 09:30 AM

dual boot, W2k NTFS/Red Hat
 
My W2K ( NTFS) is not able to read bootsect.lnx from the floppy. Is there a way where W2K NTFS can read linux file??

whansard 04-02-2004 10:28 AM

make a dos formatted floppy and copy the file to that floppy in linux, then boot windows and copy the file to the ntfs partition.

andyoye 04-02-2004 12:57 PM

Thats what i am doing. Linux shows bootsect.lnx is in floppy, but when i try to copy it in windows ( NTFS), windows shows floppy is EMPTY.

W2k is not reading the bootsect.lnx from FLOPPY

aaa 04-02-2004 01:14 PM

How exactly are you going about this? Did you format in Linux? How did you copy?
If you still have problems, there are programs that let you view Linux filesystems in Windows (look at explore2fs).

andyoye 04-02-2004 01:20 PM

dd if=<location of Linux boot sector> of=/bootsect.lnx bs=512 count=1

the same is workin fine when I dual boot my other box( XP ... FAT 32), but not with NTFS... I can see the file exists in LINUX but windows shows no file

aaa 04-02-2004 01:24 PM

'/' is the root directory. Did you copy the file to floppy? If not, you will need to copy the file from there to the floppy. First mount the floppy, and then copy (I assume the floppy will be mounted to the /mnt/floppy directory):
mount /dev/fd0
cp /bootsect.lnx /mnt/floppy

andyoye 04-02-2004 01:27 PM

oh sorry i skipped that part. YES i did copy it to the floppy.

Linux reads that the file is in floppy, but wnidows is not able to

aaa 04-02-2004 01:34 PM

Did you mount the floppy drive before copying?

andyoye 04-02-2004 02:32 PM

yes i mount the floppy

mount /mnt/ls120.0 ( tats what my floppy drive is )

then cp /bootsect.lnx /mnt/ls120.0

then umount /mnt/ls120.0

reboot in windows

copy the bootsect.lnc to C:\
edit boot.ini

C:\BOOTSECT.LNS="redhat"

reboot the system .. able to see both option ( windows/linux) BUT when i select linux .. screen goes black .. with cursor bliking at the left most conner of the screen

andyoye 04-02-2004 04:06 PM

help wanted asap

whansard 04-02-2004 05:09 PM

well, it looks like you have a different problem now thenwhat you were talking about.

if lilo or grub isn't set up right, the bootsect.lnx will not boot.

how are you currently booting into your linux?

post your fdisk -l and your bootloader config

aaa 04-05-2004 06:53 AM

Make sure you copied the bootsect.lnx from the right place.


All times are GMT -5. The time now is 01:47 AM.