![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mounting ext3 & NTFS on PC-BSD!! | void_man() | BSD | 1 | 09-19-2007 07:17 AM |
| how to mount ntfs filesystem | nicknihal | Linux | 0 | 09-09-2006 05:59 AM |
| Mount Fat32,ext3 | jaibw | BSD | 0 | 01-12-2006 02:10 AM |
| mount NTFS drive ??????? | immanuelgangte | Filesystems, Disks and Memory | 3 | 08-02-2002 12:52 PM |
| Pb for mount a ntfs fs type | Romeo_91 | UNIX for Advanced & Expert Users | 1 | 05-07-2002 02:57 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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. |
|
||||
|
Quote:
The problem is the bootsect.lnx file which the NTLDR boots from, which when selected, doesn't boot into CentOS as expected. I will try: Code:
dd if=/dev/hdb of=bootsect.lnx bs=384 count=1 and see if that helps. |
|
||||
|
What @otheus is alluding to IS that the boot loader that comes with modern Redhat(& others) is GRUB & it detects the presence of a windows partition & creating a boot menu entry for it.
Which is why *most* implementations install XP first then Linux. I've used your method many moons ago which worked for me, then GRUB came along (ps. don't uprade\install vista on the same HD as linux, vista can't co-exist) ---------- ms. stevi |
|
|||||
|
Actually, I was alluding to the fact that (1) Code:
C:\bootsect.lnx="CentOS 5" is NOT a valid NTLOADER line from what I have seen. And further (2), NTLOADER doesn't directly load Linux: grub loads linux. What NTLOADER can do (I Think) is to load the boot sector as if the BIOS had just loaded a boot sector, and in that case, the boot sector would contain the boot-strap code that GRUB uses. But Stevie Velvet is probably correct: easier to use Grub to load windows, perhaps, than the other way around. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|