LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-18-2004, 02:06 PM   #1
CountZero16
LQ Newbie
 
Registered: Jun 2004
Location: Liberty, Missouri
Distribution: Mandrake 10.0
Posts: 12

Rep: Reputation: 0
Big partition problem...


i tried to install windows to dual boot so i can play half-life 2 =P but after i installed it in some free space i had made by removing a spare partition, it just came up and said "missing operating system".

I use mandrake 10.0 so i used the rescue tool on the install disk and reinstalled by lilo bootloader, but i ran fdisk and it gives this weird output... if i try to remove /dev/hda2 it removes all of my partitions...

i have no idea what's going on.. and i can't seem to install windows because of this /dev/hda2...

anyone ever have this problem, or have any idea what's going on?

/dev/hda5 is my root partition, /dev/hda6 is my swap, and /dev/hda7 is my home partition... /dev/hda2 shouldn't be there and starts on the same sector my root does and ends on the last sector of my home.... i don't understand this at all...


Disk /dev/hda: 120.0 GB, 120034123776 bytes
16 heads, 63 sectors/track, 232581 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda2 116281 232581 58615704 f W95 Ext'd (LBA)
/dev/hda5 116281 128470 6143728+ 83 Linux
/dev/hda6 128471 129485 511528+ 82 Linux swap
/dev/hda7 129486 232581 51960352+ 83 Linux

Command (m for help):
 
Old 11-18-2004, 02:15 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
As the info at the end of your post indicates, /dev/hda2 is an extended partition, which is divided into three partitions for Linux. So. Where's hda1, the primary partition? What's installed there? When you removed an extra partition to install windows, did you format that partition for windows? Or, did you try to install windows into a partition formatted for Linux?
As Jhonny 5 would say: "need more input". Post your /etc/fstab.
 
Old 11-18-2004, 02:18 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,184

Rep: Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087
This is normal.

hda2 is an extended partition and in a nutshell a container for logical drives. It does not get mounted. A Logical partition is anything >=5.

Your not using blocks 1-116280 and therefore you should be able to create a hda1. I would create the partition in linux and then windows install should work.
 
Old 11-18-2004, 02:19 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,184

Rep: Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087
In addition you will need to reinstall the bootloader after install windows.
 
Old 11-18-2004, 02:43 PM   #5
CountZero16
LQ Newbie
 
Registered: Jun 2004
Location: Liberty, Missouri
Distribution: Mandrake 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
/dev/hda5 / ext3 defaults
none /dev/pts devpts mode=0620 0 0
/dev/hda7 /home ext3 defaults 1 2
/dev/hda1 /home2 vfat umask=0 0 0
/dev/hdb /mnt/cdrom auto umask=0,user,codepage=850,iocharset=iso8859-1,noauto,ro,exec 0 0
/dev/hdc /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/sda,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
none /proc proc defaults 0 0)
/dev/hda6 swap swap defaults 0 0



there's my fstab, i have no idea why there is no /dev/hda1, i made a fat32 partition for windows to be on and formatted it and the windows xp installer doesn't even find it...

it only says "empy space 55 gb", and then lists my 3 linux partitions as unknown.

but the W95 ext'd partition is supposed to be there?

Last edited by CountZero16; 11-18-2004 at 02:44 PM.
 
Old 11-18-2004, 03:00 PM   #6
CountZero16
LQ Newbie
 
Registered: Jun 2004
Location: Liberty, Missouri
Distribution: Mandrake 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
ok, i tried to install again, it still came up with the "Missing operating system" error

/dev/hda1 * 1 116280 58605088+ 7 HPFS/NTFS
/dev/hda2 116281 232581 58615704 f W95 Ext'd (LBA)
/dev/hda5 116281 128470 6143728+ 83 Linux
/dev/hda6 128471 129485 511528+ 82 Linux swap
/dev/hda7 129486 232581 51960352+ 83 Linux

it seems that it actually made the ntfs partition... and set it to boot... so what could possibly be wrong now?
 
Old 11-18-2004, 03:15 PM   #7
CountZero16
LQ Newbie
 
Registered: Jun 2004
Location: Liberty, Missouri
Distribution: Mandrake 10.0
Posts: 12

Original Poster
Rep: Reputation: 0
i've dual booted before like this but the windows partition stopped working, so i deleted it and make it into an extra ext3 partition to store stuff on... but i ended up not needing that so i decided to reinstall windows for halflife 2...

so i deleted the ext3 thing and lets the windows xp installer do it's magic on the free space... but XP won't boot after copying the files over to install... what in the world is going on?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
big problem with partition after attempting to install fedora russellc Fedora - Installation 5 07-06-2004 02:24 PM
Big problem with had drive partition Pwnz3r Linux - Hardware 10 03-19-2004 10:54 PM
Big, big Problem on vsftpd rhonneil Linux - Newbie 1 10-01-2003 02:18 PM
Installing RH 9 with RAID 5 --Big, big Problem!!! rhonneil Linux - Software 2 09-25-2003 08:13 PM
Big problem in linux partition souvik Linux - General 2 08-28-2001 04:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:27 AM.

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