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
extlinux(1)						      General Commands Manual						       extlinux(1)

NAME
extlinux - install the SYSLINUX bootloader on a ext2/ext3 filesystem SYNOPSIS
extlinux [options] directory DESCRIPTION
EXTLINUX is a new syslinux derivative, which boots from a Linux ext2/ext3 filesystem. It works the same way as SYSLINUX, with a few slight modifications. It is intended to simplify first-time installation of Linux, and for creation of rescue and other special-purpose boot disks. The installer is designed to be run on a mounted directory. For example, if you have an ext2 or ext3 usb key mounted on /mnt, you can run the following command: extlinux --install /mnt OPTIONS
-H, --heads=# Force the number of heads. -i, --install Install over the current bootsector. -O, --clear-once Clear the boot-once command. -o, --once=command Execute a command once upon boot. -M, --menu-save=label Set the label to select as default on the next boot -r, --raid Fall back to the next device on boot failure. --reset-adv Reset auxiliary data. -S, --sectors=# Force the number of sectors per track. -U, --update Updates a previous EXTLINUX installation. -z, --zip Force zipdrive geometry (-H 64 -S 32). FILES
The extlinux configuration file needs to be named extlinux.conf and needs to be stored in the extlinux installation directory. For more information about the contents of extlinux.conf, see syslinux(1) manpage, section files. BUGS
I would appreciate hearing of any problems you have with SYSLINUX. I would also like to hear from you if you have successfully used SYS- LINUX, especially if you are using it for a distribution. If you are reporting problems, please include all possible information about your system and your BIOS; the vast majority of all problems reported turn out to be BIOS or hardware bugs, and I need as much information as possible in order to diagnose the problems. There is a mailing list for discussion among SYSLINUX users and for announcements of new and test versions. To join, send a message to majordomo@linux.kernel.org with the line: SEE ALSO
syslinux(1) SYSLINUX for ext2/ext3 filesystem 18 December 2007 extlinux(1)
All times are GMT -4. The time now is 01:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy