Sponsored Content
Operating Systems Linux Red Hat CentOS and XP dualboot + ext3/ntfs mount Post 302262951 by apra143 on Saturday 29th of November 2008 06:25:48 PM
Old 11-29-2008
CentOS and XP dualboot + ext3/ntfs mount

I have WinXP Pro SP2 on first disk /dev/hda, which my BIOS currently has as first boot device.

I have CentOS-5.2-x86_64 on second disk /dev/hdb, which I can boot into if I set my BIOS to boot from this HDD. It is using LVM with vg00 and a single LV for root (/) filesystem (ext3).

How do I get bootsector file from the CentOS distro so that I can add it into WinXP's boot.ini file? I tried:
Code:
dd if=/dev/hdb of=bootsect.lnx bs=512 count=1

and copied the bootsect.lnx file to C:\bootsect.lnx, after which I added the following line to boot.ini in XP:
Code:
C:\bootsect.lnx="CentOS 5"

However, when selecting CentOS 5 from NTLDR boot menu, it just hangs with a black screen.

Second question is, how to get:
(a) WinXP to read/write the ext3 filesystem (from the vg00 LV) on /dev/hdb, it currently shows up in WinXP as a RAW drive G:\
(b) CentOS to read/write to and from WinXP's C:\

In the end, I basically want, WinXP's NTLDR to handle booting and I want each OS to be able to read/write to each other.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Pb for mount a ntfs fs type

Hie , I have a distrib Red Hat with a kernel-2.4.9-31 . I can't mount a ntfs fs with command : #mount -t ntfs /dev/hda1 /windows mount: fs type ntfs not supported by kernel Why doesn't my kernel support a type ntfs ? How can I mount this FS ? Merci d'avance.. (1 Reply)
Discussion started by: Romeo_91
1 Replies

2. Filesystems, Disks and Memory

mount NTFS drive ???????

can someone help tell me how to mount NTFS drive in redhat 7.1 1. is this correct ? dev/hda1 mnt/c ntfs-t defaults 0 0 2.is the mount file etc/fstab thanking you all ... (3 Replies)
Discussion started by: immanuelgangte
3 Replies

3. BSD

Mount Fat32,ext3

Hello All, How can i mount ext3 and Fat partition in FreeBSD 6.0 (0 Replies)
Discussion started by: jaibw
0 Replies

4. Linux

how to mount ntfs filesystem

:) Hi frds ..i hope i can get some help for this.. I am unable to mount ntfs/hpfs file system which contain my XP o/s. As per the information collected on net i found tht my kernel i.e 2.4.xx does not support ntfs ..? Now I dont knwo where to get upgraded kernel and how to deploy it ..can anyone... (0 Replies)
Discussion started by: nicknihal
0 Replies

5. Linux

Mount ntfs in linux

How Can I mount Windows NTFS Partation in to Linux ? (4 Replies)
Discussion started by: Amit Deore
4 Replies

6. UNIX for Advanced & Expert Users

Can I mount Windows NTFS drive?

Just inherited a windows server to support. Windows 2003 Enterprise edition I can view driver / folders on the windows NTFS volume by mapping a drive from my windows laptop.. Can I mount this from a unix server also? I heard you can use Microsoft Services for Network File System... (3 Replies)
Discussion started by: frustrated1
3 Replies

7. BSD

Mounting ext3 & NTFS on PC-BSD!!

I'm having problem mounting ext3 & ntfs partitions on my PC-BSD OS. Can anyone please help me out here. What are the changes required to be done in fstab?? Are there any patches to be installed?? (1 Reply)
Discussion started by: void_man()
1 Replies

8. UNIX for Dummies Questions & Answers

Ext3 to NTFS - transfering data

Alright so here is my problem: I have an ext3 external hard drive with about 270gb of data that needs to be copied/transferred to a NTFS drive. The NTFS drive has data currently on it...which obviously needs to stay intact. My supervisor mentioned that this problem could be a little tricky so I... (9 Replies)
Discussion started by: huntreilly25
9 Replies

9. Fedora

unable to mount NTFS

Hi, I'm new for unix. I tried to mount windows NTFS partition in Fedora unix, but it is saying ntfs not found. The command i used is mount /dev/sdb1 -t ntfs /mnt/drive1 and how to find the available filesystem type?. (1 Reply)
Discussion started by: gwgreen1
1 Replies

10. Solaris

How to mount ntfs for storage HDD new to Solaris 11.2?

I just installed Solaris 11.2 - and it is a bugger. How do I mount an extra HDD that is now formated to NTFS through gparted it keeps telling me I don't have any ntfs on this laptop. it has two hdds, /dev/sda1 /dev/sdb1 (Linux lingo) Solaris is installed on primary hard drive back of it. then... (2 Replies)
Discussion started by: userx-bw
2 Replies
BOOT.CONFIG(5)						      BSD File Formats Manual						    BOOT.CONFIG(5)

NAME
boot.config -- Configuration file for the boot blocks DESCRIPTION
The boot.config file contains options for the FreeBSD boot block code. When the FreeBSD boot loader runs, it searches the ``a'' slice of the boot partition for a boot.config file (as a result, slices which are missing an ``a'' partition require user intervention during the boot process). If the boot.config file is found, its contents are used as the default configuration options for the boot block code and are echoed to the system console. A valid format of this file is to put BIOS drive number, a controller type, a unit number, a partition, a kernel file name, and any other valid boot(8) option on a single line, as it is done at the ``boot:'' prompt. The options related to the boot image selection described below and all the other options available for boot.config are documented in detail in the boot(8) manual page. FILES
/boot.config parameters for the boot blocks (optional) EXAMPLES
The command: # echo "-P" > /boot.config will activate the serial console of FreeBSD. The command: # echo "1:ad(1,a)/boot/loader" > /boot.config will instruct the second stage of boot(8) on the first disk to boot with the third boot(8) stage from the second disk. The command: # echo "1:ad(1,a)/boot/loader -P" > /boot.config will do both of the above. SEE ALSO
boot(8), loader(8) AUTHORS
This manual page was written by Daniel Gerzo <danger@FreeBSD.org>. BSD
May 13, 2007 BSD
All times are GMT -4. The time now is 03:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy