Solved

Linux/Windows Dual Boot Problem

Posted on 2004-10-13
23
299 Views
Last Modified: 2013-12-15
I run Windows XP (Home Edition) on my C: drive.

Today, I installed Xandros Linux on my D: drive, and the Xandros boot manager on my C: drive.

When I choose Windows XP from the boot manager, Windows begins to boot up, but then I get the message "Cannot find autochk . . . skipping autochk"; and then, within seconds, the computer reboots.

HELP!
0
Comment
Question by:hbock
23 Comments
 
LVL 10

Expert Comment

by:Luxana
ID: 12303969

Boot to the Recovery Console

Start your computer with the Windows startup disks, or with the Windows CD-ROM if your computer can start from the CD-ROM drive.

When the Welcome to Setup screen appears, press R to select the repair option.

Type the administrator password when you are prompted to do so.

NOTE: If no administrator password exists, just press ENTER.

At the command prompt, type chkdsk /r, and then press ENTER
0
 

Author Comment

by:hbock
ID: 12304652
I tried Luxana's suggestion, and ran Chkdsk.  It found errors, but I still have the same problem.
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12304699
boot to save mode with pressing F8 before windows starts boot...see if you are able to do that if yes reboot no normal mode..
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12304726
also have a look here if you have a same problem with hidden partition:

http://www.linuxquestions.org/questions/showthread.php?s=&threadid=172995&goto=nextnewest
0
 

Author Comment

by:hbock
ID: 12304756
1.  I have tried booting in Safe Mode.  Same problem.

2.  I looked at the hidden partition URL reference, but I am afraid that I am not sufficiently conversant with Linux to understand the suggested procedure.
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12304777
no problem:

first we have a look on partitions,

you need to boot in linux an the enter console(terminal) and type command as root:

# fdisk -l

and paste here output
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12304791
if you are unsure how to use fdisk better ask otherwise you can damage your system ! !
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12304920
see if the windows ntfs partition is ntfs hidden ID 17 an then use fdsik to change it to ntfs ID 7

to do so you need to use terminal
here is example:

how to change firts partition to ntfs using terminal
with fdisk:

fdisk /dev/hda

The number of cylinders for this disk is set to 4864.
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): t
Partition number (1-7): 1
Hex code (type L to list codes): 7
Changed system type of partition 7 to 7 (HPFS/NTFS)

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with
error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
0
 

Author Comment

by:hbock
ID: 12307240
I won't be able to try these latest suggestions until later today, but in the meantime I'll note that when I run the Windows repair console, it identifies my Windows installation as being on drive H:.  Since I am used to Windows seeing my harddrive as drive C:, I wonder if this clue has any diagnostic significance.
0
 

Author Comment

by:hbock
ID: 12310514
Here's the output (hand copied; I'm sending this from another machine):

Disk /dev/ide/host0/bus0/target0/lun0/disc: 80.0 GB, 80026361856
255 heads, 63 sectors/tracks, 9729 cylinders
                                                  Device      Boot           Start       End           Blocks
 Id System
/dev/ide/host0/bus0/target0/lun0/part1           *                 1       9729    78148161
 44 Unknown

Disk /dev/ide/host0/bus0/target0/lun0/disc: 80.0 GB, 80026361856
255 heads, 63 sectors/tracks, 9729 cylinders
                                                  Device      Boot           Start       End           Blocks
 Id System
/dev/ide/host0/bus0/target1/lun0/part2           *                 1       9729    78148161
 83 Linux

(I couldn't understand what you wanted me to do in your last message.)
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12314043
Hi

to avoid hand copy from screen redirect output to floppy like this:
create directory for floppy:
# mkdir /mnt/floppy ( if exists do you can skip this step)
# mount /dev/fd0 /mnt/floppy
# fdisk -l /dev/ide/host0/bus0/target0/lun0/disc > /mnt/floppy/out.txt
# umount /mnt/floppy

and then paste content of out.txt file on your floppy here




0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:hbock
ID: 12314404
After entering the second line of your script, I get the response: "mount: you must specify the filesystem type".  What am I doing wrong?  In the meantime, can you work with the hand-copied output that I sent you?
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12314476
this output waht you sendet does not shows partitions tables. We need to find out first if ntfs partition is hidden. Also output from

# cat /etc/fstab
and
# fdisk -l /dev/ide/host0/bus0/target0/lun0/disc

make sure that floppy is formated

to set filesystem type for fat:

#mount /dev/fd0 -t vfat /mnt/floppy

0
 

Author Comment

by:hbock
ID: 12315490
Here's what I got:


Disk /dev/ide/host0/bus0/target0/lun0/disc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot      Start         End      Blocks   Id  System
/dev/ide/host0/bus0/target0/lun0/part1   *           1        9729    78148161   44  Unknown




Disk /dev/ide/host0/bus0/target0/lun0/disc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot      Start         End      Blocks   Id  System
/dev/ide/host0/bus0/target0/lun0/part1   *           1        9729    78148161   44  Unknown
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12315878
what type of hardrive do you have? IDE, SCSI, USB ?

and please output from

# cat /etc/fstab
0
 

Author Comment

by:hbock
ID: 12318398
1.  I have an IDE hard drive.

2.  When I run the "unmount" line in your instructions, I get a response that the command is unknown.

3.  Here is the output you asked for:

# /etc/fstab -- static file system information
# auto generation: on
# generated by: /sbin/etcdev2fstab
#
# NOTE: to make this file readable, it has been formatted for 132 columns
#
#<device>                              <mountpoint>      <fstype>  <options>                                       <dbg> <pass>
/dev/ide/host0/bus0/target1/lun0/part2  /                 reiserfs  rw                                              0     0
/dev/ide/host0/bus0/target0/lun0/part1  /disks/C          ntfs      ro,nosuid,nodev,noexec,nouser,async,umask=0     0     0
/dev/cdroms/cdrom0                      /mnt/cdrom0       iso9660   ro,nosuid,nodev,exec,user,noauto,async,unhide   0     0
/dev/fd0                                /mnt/fd0          auto      rw,nosuid,nodev,exec,nouser,noauto,async        0     0
proc                                    /proc             proc      rw                                              0     0
usbdevfs                                /proc/bus/usb     usbdevfs  rw,devmode=0666                                 0     0
/boot/linux-swap.swp                    none              swap      sw                                              0     0
0
 

Author Comment

by:hbock
ID: 12319805
Luxana:

Doing this over the web is very slow.  Without violating any Experts-Exchange rules, is there a possibility of a phone call, so we can working on this in real time?  My number is 617-969-2362; I would be happy to call you right back to save you the phone charges.
0
 

Author Comment

by:hbock
ID: 12322385
I solved the problem, with a suggestion from posting this question as a Windows XP topic:  I downloaded PTedit.exe, and used it to change my partition type from "unknown" to "NTFS," and the problem cleared up.
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12324890
HI hbock

Sorry I have not been online. That what we was trying to do but linux way I needed to see you partions on your drive to make sure what we are diong. I thinf uknown can be with some partitioning tools hidden.

good luck

luxana
0
 

Expert Comment

by:Hessianator
ID: 12391060
hbock,
can you paste a link to your where you posted your question in the win xp section?
thanks
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12392099
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 15647642
PAQed with points (500) refunded

DarthMod
Community Support Moderator
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now