LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 12-21-2004, 06:51 PM   #1
rikke
LQ Newbie
 
Registered: Dec 2004
Location: Copenhagen, Denmark
Distribution: Mandrake
Posts: 4

Rep: Reputation: 0
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
 
Old 12-21-2004, 07:18 PM   #2
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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
 
Old 12-21-2004, 07:45 PM   #3
rikke
LQ Newbie
 
Registered: Dec 2004
Location: Copenhagen, Denmark
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 12-21-2004, 08:07 PM   #4
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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
 
Old 12-22-2004, 02:45 AM   #5
rikke
LQ Newbie
 
Registered: Dec 2004
Location: Copenhagen, Denmark
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 12-22-2004, 08:51 PM   #6
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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

Last edited by mjrich; 12-22-2004 at 08:54 PM.
 
Old 12-23-2004, 06:16 AM   #7
rikke
LQ Newbie
 
Registered: Dec 2004
Location: Copenhagen, Denmark
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 12-23-2004, 07:28 AM   #8
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
try using GAG v.4
floppy is safe variant. If successful then use HD
 
Old 12-23-2004, 02:24 PM   #9
mjrich
Senior Member
 
Registered: Dec 2001
Location: New Zealand
Distribution: Debian
Posts: 1,046

Rep: Reputation: 45
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
 
Old 12-24-2004, 01:00 AM   #10
chumisekar
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Rep: Reputation: 0
yeah it seems to be corrupted . Need to reinstall the whole setup

regards Sumithra
 
  


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
Dual Boot with Windows 2000 and Mandrake DJCyber Linux - Newbie 7 01-23-2005 05:03 PM
Windows 2000/XP dual-boot koyi General 5 04-11-2004 12:24 PM
dual boot with windows 2000 ewoods Linux - Newbie 5 01-27-2004 05:16 AM
windows 2000 slow in dual boot with RH 8.0 piper222 Linux - Newbie 2 11-14-2002 07:25 PM
Dual boot with Windows 2000 Phillip Hess Linux - Newbie 10 04-23-2001 07:33 AM


All times are GMT -5. The time now is 05:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration