LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-09-2008, 10:34 PM   #1
iyuvabharat
LQ Newbie
 
Registered: Mar 2008
Posts: 21

Rep: Reputation: 15
Unhappy xp is not coming in dualboot?


Help folks, i have dual booted xp and fedrora but after a few weeks i have used wine in doing this when i restarted my system the duak boot option for xp is coming but what happened is that when i enter xp i am restarted again..........

also i went for reinstallling but the thing it said was "setup is inspecting your system..." and xp cd hangs help is urgent plzzzzzz..
 
Old 05-09-2008, 10:39 PM   #2
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
The xp setup hates ext3 partitions and sometimes will not boot if one is on the harddrive
 
Old 05-09-2008, 10:54 PM   #3
iyuvabharat
LQ Newbie
 
Registered: Mar 2008
Posts: 21

Original Poster
Rep: Reputation: 15
then what to do............
 
Old 05-10-2008, 12:00 AM   #4
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
I would suggest to backup and reformat linux to fat32 or something like that then install windows xp, then linux
 
Old 05-10-2008, 09:53 AM   #5
iyuvabharat
LQ Newbie
 
Registered: Mar 2008
Posts: 21

Original Poster
Rep: Reputation: 15
hey i said that when installing xp i am having a screen saying "setup inspecting.............." and xp hangs what to do????????/
also i how to reformat the disk as u said help urgent........
 
Old 05-10-2008, 10:24 AM   #6
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Hi iyuvabharat

Using capitals at the beginning of a new sentence as well as the use of punctuation marks will make your post(s) easier to read/understand. I'm battling to understand your first post.

If XP hangs, this is more a question for a Windows forum or the general section on LQ.

I suggest that you use a Live CD and wipe the partitions using e.g. fdisk or cfdisk. You don't have to format them, Windows will do that during install once it is going.

If it did not solve the issue:
  1. Please provide details about the hardware
  2. What was the first OS that was ever succesfully installed on the system
  3. Can you install Linux?
 
Old 05-10-2008, 11:21 PM   #7
iyuvabharat
LQ Newbie
 
Registered: Mar 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Post

Quote:
Originally Posted by Wim Sturkenboom View Post
Hi iyuvabharat

Using capitals at the beginning of a new sentence as well as the use of punctuation marks will make your post(s) easier to read/understand. I'm battling to understand your first post.

If XP hangs, this is more a question for a Windows forum or the general section on LQ.

I suggest that you use a Live CD and wipe the partitions using e.g. fdisk or cfdisk. You don't have to format them, Windows will do that during install once it is going.

If it did not solve the issue:
  1. Please provide details about the hardware
  2. What was the first OS that was ever succesfully installed on the system
  3. Can you install Linux?
Well i know how to instll linux and i have several times installed xp and this is the first time i installed fedrora linux and also my motherboard is intel965 and plz telll me how to use fdisk command on livecd what it does sorry for the trouble i am beginner in linux
 
Old 05-11-2008, 06:43 AM   #8
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Depending on which live distro you use, open 'terminal' or it might be called 'konsole'. You will need to do this as root and some of the live distros you can sign in as root and the rest you type 'su' or 'sudo' in the terminal (without the quote marks) and it will ask for a password which the distro will tell you on the sign in screen. If you have the right live cd most of them come with a GUI type partitioner called gparted or qtparted. You can type either of those names and the program should open if it is on your distro. If not cfdisk and fdisk is on all that I have ever used but it is not GUI.
 
Old 05-11-2008, 06:51 AM   #9
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
The question was not if you know how to install, but if you can (maybe it also does not work).

fdisk -l (lowercase L) will show you the (hard)disks in your system (marked in red).


Code:
wim@desktop1:~$ fdisk -l

Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3264    26218048+   7  HPFS/NTFS
/dev/sda2            3265       26892   189791910    f  W95 Ext'd (LBA)
/dev/sda5            3265        7180    31455238+   7  HPFS/NTFS
/dev/sda6            7181       10444    26218048+   b  W95 FAT32
/dev/sda7           10445       13708    26218048+  83  Linux
/dev/sda8           13709       13838     1044193+  82  Linux swap / Solaris
/dev/sda9           13839       26892   104856223+  83  Linux

Disk /dev/sdb: 32 MB, 32112640 bytes
2 heads, 32 sectors/track, 980 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               2         980       31328    4  FAT16 <32M
wim@desktop1:~$
In the example you'll see two disks (the second one is a memory stick, so you can ignore it).

The disks will either be /dev/sda, /dev/sdb etc or /dev/hda, /dev/hdb etc

Next you can run fdisk /dev/sda (replace sda by what applies to your system)

Code:
wim@desktop1:~$ fdisk /dev/sda

The number of cylinders for this disk is set to 30515.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help):
p will print the partition table, d will ask for a partition number to delete and w will save the changes.

As can be seen from the fdisk -l command above, there are partitions 1,2,5,6,7,8,9. Delete the partition numbers that you have found.
 
Old 05-12-2008, 04:56 AM   #10
iyuvabharat
LQ Newbie
 
Registered: Mar 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Wim Sturkenboom View Post
The question was not if you know how to install, but if you can (maybe it also does not work).

fdisk -l (lowercase L) will show you the (hard)disks in your system (marked in red).


Code:
wim@desktop1:~$ fdisk -l

Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3264    26218048+   7  HPFS/NTFS
/dev/sda2            3265       26892   189791910    f  W95 Ext'd (LBA)
/dev/sda5            3265        7180    31455238+   7  HPFS/NTFS
/dev/sda6            7181       10444    26218048+   b  W95 FAT32
/dev/sda7           10445       13708    26218048+  83  Linux
/dev/sda8           13709       13838     1044193+  82  Linux swap / Solaris
/dev/sda9           13839       26892   104856223+  83  Linux

Disk /dev/sdb: 32 MB, 32112640 bytes
2 heads, 32 sectors/track, 980 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               2         980       31328    4  FAT16 <32M
wim@desktop1:~$
In the example you'll see two disks (the second one is a memory stick, so you can ignore it).

The disks will either be /dev/sda, /dev/sdb etc or /dev/hda, /dev/hdb etc

Next you can run fdisk /dev/sda (replace sda by what applies to your system)

Code:
wim@desktop1:~$ fdisk /dev/sda

The number of cylinders for this disk is set to 30515.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help):
p will print the partition table, d will ask for a partition number to delete and w will save the changes.

As can be seen from the fdisk -l command above, there are partitions 1,2,5,6,7,8,9. Delete the partition numbers that you have found.

AS you said to type fdisk -1 but it say command not found
 
Old 05-12-2008, 05:59 AM   #11
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
It's fdisk -l (lower case L, not the digit one), but that should not cause the problem.

Only thing I can think of is that you have to be root to perform the operation (fdisk is probably not in the path).
 
Old 05-12-2008, 09:49 AM   #12
iyuvabharat
LQ Newbie
 
Registered: Mar 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Wim Sturkenboom View Post
It's fdisk -l (lower case L, not the digit one), but that should not cause the problem.

Only thing I can think of is that you have to be root to perform the operation (fdisk is probably not in the path).
SORRY ABOUT THIS BUT LOOK HERE

[arun@localhost ~]$ su
Password:
[root@localhost arun]# fdisk -l
bash: fdisk: command not found
[root@localhost arun]#
 
Old 05-12-2008, 10:00 AM   #13
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
su will give you root rights in user environment - not using root's PATH variable that is.
su - will switch to root.
 
Old 05-12-2008, 10:03 PM   #14
iyuvabharat
LQ Newbie
 
Registered: Mar 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Lightbulb

Quote:
Originally Posted by Emerson View Post
su will give you root rights in user environment - not using root's PATH variable that is.
su - will switch to root.
then give mr the code i will paste it in the terminal
 
Old 05-12-2008, 10:07 PM   #15
iyuvabharat
LQ Newbie
 
Registered: Mar 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Unhappy

Sorry guys i got it here is the result

[root@localhost arun]# su -
[root@localhost ~]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xecd9ecd9

Device Boot Start End Blocks Id System
/dev/sda1 * 1 4334 34812823+ 7 HPFS/NTFS
/dev/sda2 4335 19456 121467465 f W95 Ext'd (LBA)
/dev/sda5 9434 14532 40957686 7 HPFS/NTFS
/dev/sda6 14533 19456 39551998+ 7 HPFS/NTFS
/dev/sda7 4335 4360 208782 83 Linux
/dev/sda8 4361 9433 40748841 8e Linux LVM

Partition table entries are not in disk order

Disk /dev/dm-0: 39.5 GB, 39594229760 bytes
255 heads, 63 sectors/track, 4813 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-1 doesn't contain a valid partition table
[root@localhost ~]#

plz help
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
DualBoot and uninstall :P kipper2258 Mandriva 6 01-12-2005 12:09 PM
dualboot - question flame Slackware 4 09-07-2004 10:48 AM
Dualboot XP/SW 9.1 Failure pelle-x Slackware - Installation 2 01-14-2004 03:52 PM
need help urgently!!! display not coming and error mesage coming when user is logging rddreamz Linux - Newbie 0 08-14-2003 11:11 AM
DualBoot and no clue KnowPlay Linux - Newbie 2 08-11-2002 10:57 PM

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

All times are GMT -5. The time now is 06:13 PM.

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