LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-17-2003, 11:31 PM   #1
linuxnoobgod
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9.0
Posts: 14

Rep: Reputation: 0
Angry Yet Another Linux WinXP Dual Boot Question...


OK! So I bought Redhat 9.0 today, didn't want to, but I formatted my entire 40gig drive. I got Linux on, and its running fine. I currently have three LINUX partitions in this drive now. So now, I REALLY need to dual-boot with XP! So I set BIOS to boot from CD, blahblabhblah, go through the WINXP setup insructons, when I get to the prompt asking me where I want to put XP, I see the three partitions of type "Unkown" which is fine, cuz it doesn't know what the LINUX part's are. So when I installed linux, I made sure to make 30gigs of type, "FREE SPACE" so this is unpartitioned stuff. So it shows up on the XP install menu. I hit enter, and it says," Can not create partition because maximum amount of partitions have been created on this disk." um, I dont like that. Is there a way around this? or what? I only need to make one NTFS Partition out of this space. Could sum1 help?









ALSO: Another question, how can I STOP pretty much ALL sound from playing through my system speaker in linux?

Last edited by linuxnoobgod; 05-17-2003 at 11:33 PM.
 
Old 05-17-2003, 11:47 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you can only have 4 primary partitions on a disk

one of these should be an extended partition if you plan on having more than four so it can be split up into logical drives.

in other words make three primary partitions and one extended partition

The thing to do is to install XP first. Then install linux and partition the remaining free space for linux.

you could have done it the other way if you had left a primary partition for windows.
 
Old 05-17-2003, 11:50 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
One solution is to move one of your linux partition contents to /

this will free up a partition and you will not need to reload linux

the freed up partition can be deleted, then an extended partition could be created from it. then you could move some of your linux stuff to one of the logical drives, possibly mounting the folder you moved to / back on a logical partition instead of the primary it's on now

in order to reclaim the free space the partition you choose to delete must be either immediately before or after the free space on the drive


the goal would be to move things around as to free up a primary partition for windows and reclaim the free space

Last edited by DavidPhillips; 05-17-2003 at 11:55 PM.
 
Old 05-17-2003, 11:53 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
To stop the sound from the speaker turn off the volume for it in aumix
 
Old 05-18-2003, 01:37 AM   #5
linuxnoobgod
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9.0
Posts: 14

Original Poster
Rep: Reputation: 0
Im a noob, can I get a step-by-step for anything here?
 
Old 05-18-2003, 01:56 AM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
We could give a better idea of what needs to be done if you post some info on the partitions

the output of this...

fdisk -l /dev/hda

providing /dev/hda is you hard disk

and also the output of this ...

mount

and the output of this...

cat /etc/fstab

and the output of this...

df
 
Old 05-18-2003, 09:48 AM   #7
linuxnoobgod
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9.0
Posts: 14

Original Poster
Rep: Reputation: 0
OUTPUT OF THE CAT COMMAND:

LABEL= / / ext3 defaults 1 1
LABEL= /boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0

OUTPUT OF MOUNT:

/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)

OUTPUT OF DF:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 8056524 1894524 5752748 25% /
/dev/hda1 101089 9326 86544 10% /boot
none 256048 0 256048 0% /dev/shm

Thnx all, I REALLY need help!
 
Old 05-18-2003, 10:53 AM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Cool

we are going to need this

fdisk -l /dev/hda
 
Old 05-18-2003, 12:37 PM   #9
linuxnoobgod
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9.0
Posts: 14

Original Poster
Rep: Reputation: 0
bash: fdisk command not found. LOL, thats wierd, so do I issue the FDISK commands in the terminal? because thats what I did, as root and everything.
 
Old 05-18-2003, 12:48 PM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Yeah, for some reason it seems RH doesn't put the path fdisk resides in in the root's path by default, try:
whereis fdisk
And when it returns the path use that. It might be:
/sbin/fdisk
For example. So you'd execute with:
/sbin/fdisk -l /dev/hda

Cool
 
Old 05-18-2003, 01:00 PM   #11
linuxnoobgod
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9.0
Posts: 14

Original Poster
Rep: Reputation: 0
Cannot open /dev/hda uh oh
 
Old 05-18-2003, 01:06 PM   #12
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
What? What does a generic:
/sbin/fdisk -l
return then?

As for muting your volume, open up a mixer. If you go to a terminal type:
aumix
If nothing, then type:
gmix
If still nothing, try:
kmix
One of those should be installed and in your path. So then, once one of them come up, I think muting it should be self explanatory. If not, I'll be glad to walk you through it

Cool
 
Old 05-18-2003, 01:07 PM   #13
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try it like this, it might work. Some do and some don't.


/sbin/fdisk -l
 
Old 05-18-2003, 01:37 PM   #14
linuxnoobgod
LQ Newbie
 
Registered: May 2003
Distribution: Redhat 9.0
Posts: 14

Original Poster
Rep: Reputation: 0
I AM SO FRUSTRATED ARGH! This is what I get:

[cody@dhcp-1422-5 cody]$ /sbin/fdisk -l
Cannot open /dev/hda
Cannot open /dev/hdb

My accounts name is cody, so thats why it says cody. Even when I cd into sbin, it wont work.

All I want to do is a simple dual boot, I know its been done before! arghhhhhhh!
 
Old 05-18-2003, 01:55 PM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You must be root to do those things That's probably why you are getting those errors...

Cool
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot Linux And WinXP theutherwhitemeat Linux - Software 9 07-31-2005 01:38 AM
(newbie question) Dual boot Amigo and WINXP atomicpyro Amigo 8 02-24-2005 05:16 AM
WinXP Pro/Fedora Core 2 Dual-Boot Question NanoGamer Linux - Newbie 6 08-30-2004 02:01 AM
Dual boot WinXP/RedHat 9 question afireinside81 Linux - Newbie 1 07-05-2004 12:39 AM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 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