LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dual boot with windows 2000 (https://www.linuxquestions.org/questions/linux-newbie-8/dual-boot-with-windows-2000-a-268972/)

rikke 12-21-2004 06:51 PM

dual boot with windows 2000
 
Hi,

I hope this is the right place to ask:

I installed Mandrake 9.1 on an HP Omnibook 6000 with windows 2000 already installed, but now I can't reach the windows partition. It's mounted but I get a input/output error when I try to access it. There is a windows option in the lilo boot menu, but when selecting it, its hanging at 'loading windows...'. Could anyone please help?

thanks in advance

Rikke

mjrich 12-21-2004 07:18 PM

How many drives do you have, and do you have a master and slave (if two or more). If one, how did you resize the Win2000 partition (or did you just use the blank space available on the drive ?).

Also, it may help if you post your /etc/lilo.conf file.

Cheers,

mj

rikke 12-21-2004 07:45 PM

Just one drive. I let mandrake handle the partition configuration.

/etc/lilo.conf:

Code:

boot=/dev/hda
map=/boot/map
vga=normal
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
                label="linux"
                root=/dev/hda5
                initrd=/boot/initrd.img
                append="noapic devfs=mount acpi=off"
                read-only
image=/boot/vmlinuz
                label="failsafe"
                root=/dev/hda5
                initrd=/boot/initrd.img
                append="failsafe noapic devfs=nomount acpi=off"
                read-only
other=/dev/hda1
                label="windows"
                table=/dev/hda"
other=/dev/fd0
                label="floppy"
                unsafe

When trying to access it from linux I get:

ls: reading directory .: Input/output error


Thanks


Rikke

mjrich 12-21-2004 08:07 PM

It's possible that your windows partition is not actually hda1 - there's often a small partition at the beginning, particularly on laptops, reserved for the Oem utilities. What is the output of (as root)
Code:

fdisk -l /dev/hda
Cheers,

mj

rikke 12-22-2004 02:45 AM

Hi,

the result is:


fdisk -l /dev/hda

Code:

Disk /dev/hda: 40.0 GB, 40007761920 bytes
240 heads, 63 sectors/track, 5168 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

      Device  Boot      Start          End      Blocks      Id      System
/dev/hda1      *          1          1943      14689048+    7      HPFS/NTFS
/dev/hda2              1944          5168      24381000    5      Extended
/dev/hda5              1944          2755      6138688+  83      Linux
/dev/hda6              2756          2822        506488+  82      Linux swap
/dev/hda7              2823          5168      17735728+  83      Linux

so that doesn't seem to be the problem??


Thanks,


Rikke

mjrich 12-22-2004 08:51 PM

Yes, the partitions seem to be correct. Incidentally, is this a typo ?
Code:

other=/dev/hda1
                label="windows"
                table=/dev/hda"

Either way, I'd probably comment out the table line as it's usually only needed for Dos partitions, and then re-run /sbin/lilo.

Other than that, I can't think of any reason why it wouldn't work. Can you see all of your old windows data from your linux system ? (I.e., to ensure that that drive hasn't become corrupted).

Cheers,

mj

rikke 12-23-2004 06:16 AM

No it's not a typo, I tried to comment it out, but it made no difference. But what is probably more important: No, I can't see any data on the windows partition from linux. I can mount it, but when I'm trying to access it, I get an input/output error. This is what I get from the system log:

Code:

NTFS-fs error {device 03:01}: ntfs_end_buffer_async_read(): Buffer I/O error, logical block 3920120[x].
[this is repeated many times]
NTFS-fs error {device 03:01}: Reading index allocation data failed.

I would very much like to avoid to reinstall the systems, but I guess it's my best choice?

Thank you for your help!

Rikke

SlackerLX 12-23-2004 07:28 AM

try using GAG v.4
floppy is safe variant. If successful then use HD

mjrich 12-23-2004 02:24 PM

Oh dear, it does look as if your windows partitition has become corrupted :(

I would run GPart (see http://linux-universe.com/HOWTO/LILO...on_rescue.html to see if there are any inconsistencies in hda1, then if necessary make a backup image of it and try to recover the data later, before re-installing windows. Of course you'll then need to either modify your windows boot loader so that it can see Mandrake, or re-install Lilo. (Gag is another boot loader, thus won't help too much if the partition is in bad shape.)

Cheers,

mj

chumisekar 12-24-2004 01:00 AM

yeah it seems to be corrupted . Need to reinstall the whole setup

regards Sumithra:(


All times are GMT -5. The time now is 02:20 AM.