LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-29-2006, 08:42 AM   #1
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Rep: Reputation: 30
windows boot problem


have 2 hdds

hda: linux
hda1, hda5 -swap, hda6

hdb: win
hdb1 hdb5

i copied files from hda6 to hdb5 and - win won't boot

Last edited by ygloo; 09-29-2006 at 07:02 PM.
 
Old 09-29-2006, 09:42 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
yeah well its not clear to me why you copied stuff so feel free to enlightenment me

2) if hda1 was once C partition and hda5 was your other MS partition then when you copied to hdb1 and hdb5 ....they will still be ok but its your bootloader that needs some work.

3) if bios boots to drive hda...its bootloader points to files on hda and not hdb get it?

4) the solution is install grub into hda MBR and use my tutorial to chainload to the correct C partition which I am guessing is hdb1 (and its booting files ntldr etc)

5) if you have a live cd such as knoppix or kanotix then boot it and open a terminal and then edit the file you NOW find on hda1 or hda5 or hda6 for the /boot partition or folder for
/boot/grub/menu.lst

add a new line

title MS
root (hd1,0) ....assuming C is hdb1....see tut on how to figure it out
chainloader +1


6) Edit ....you do not say if you can boot into Linux can you?

Last edited by aus9; 09-29-2006 at 09:44 AM.
 
Old 09-29-2006, 10:00 AM   #3
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
i use lilo

booting was ok till i copied those files
hdb is split - C: D:
i copied files to D:

Last edited by ygloo; 09-29-2006 at 10:02 AM.
 
Old 09-29-2006, 10:21 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Not enough information. "Those files" and "I copied files to D:" does not tell us anything.

What files did you copy including source and destination directories?
What command(s) did you use to copy the files. GUI or command line?
Were you running windows or linux? (I assume linux)
What are the windows error messages.

Last edited by michaelk; 09-29-2006 at 10:22 AM.
 
Old 09-29-2006, 10:48 AM   #5
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
i boot linux
and make backup file.tar

mount /dev/hdb5 /mnt/usb-storage
mkdir /mnt/usb-storage/backup
cp "file.tar" /mnt/usbstorage/backup/

i restart
lilo:

linux
windows

i select windows
message: loading windows...

freeze...

Last edited by ygloo; 09-29-2006 at 10:50 AM.
 
Old 09-29-2006, 12:57 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Obviously hdb5 is not your usb-storage device. However, the mount point is not important. Is hdb5 a NTFS or FAT32 partition? How big was the file.tar? From what you posted it should not corrupted your windows c: drive.

If you have the XP then you can try booting to recovery mode and try to repair.
 
Old 09-29-2006, 01:03 PM   #7
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
hdb5 is FAT32
hdb5 - D: drive

file copied is 7GB
it copied about 2GB and - "space limit reached"

Last edited by ygloo; 09-29-2006 at 01:08 PM.
 
Old 09-29-2006, 01:17 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
A FAT32 filesystem is limited to 2GB files.
It should not matter but see if deleting the file in linux does anything.
 
Old 09-29-2006, 04:54 PM   #9
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
i deleted files in hda5 {D:} and tried again...
no result
 
Old 09-29-2006, 05:02 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Have you tried recovery mode via the install CD. Are you running XP?
 
Old 09-29-2006, 06:22 PM   #11
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
win98 recovery CD?
 
Old 09-29-2006, 06:56 PM   #12
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
i copied files from >>> hda5 to hdb5 <<<
And earlier in your first post you said:
Quote:
hda: linux
hda1, hda5 -swap, hda6
You copied your Linux swap partition to your Windows installation? What am I missing here? That seems an odd thing to do.
 
Old 09-29-2006, 07:05 PM   #13
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
type error...

point is that files from
[HTML]hda6 ( linux partition ) go to
hdb5 ( win partition )
[/HTML]
now win wont boot

Last edited by ygloo; 09-29-2006 at 07:07 PM.
 
Old 09-29-2006, 07:09 PM   #14
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
OK. I guess it really doesn't matter what you copied over to hdb5 (Linux swap partition or whatever).

By chance, did you have some version of Windows installed on hdb5 also? I'm asking because if you did, and then installed Windows 2k or XP on hdb1, then this second Windows install (on hdb1) would have been dependant on hdb5 for some of it's boot files. You wipe out hdb5 as you evidently did, and Windows on hdb1 is screwed!

This is the way Windows does multibooting. The seperate Windows installations are not independent of each other.

From your earlier descriptions, I wouldn't think the above is your case. However, I can't come up with any other reason why wiping out your D: drive would have screwed your installation on C: as you report.
 
Old 09-29-2006, 07:13 PM   #15
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Original Poster
Rep: Reputation: 30
there is 1 win98 install on hdb - C: and D: (hdb1 and hdb5)

there are no messages ehwn booting ... "loading windows..."
what could be the reason?

Last edited by ygloo; 09-29-2006 at 07:15 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot -fedora core 4 and windows xp- problem booting from windows xp cd r_desu Linux - Newbie 4 06-17-2007 04:33 PM
Windows XP Suse 9.2 dual boot problem:Yast doesn't find windows Salawat SUSE / openSUSE 1 03-31-2006 04:33 AM
Suse 10/Windows Boot Problem whoomjah SUSE / openSUSE 11 02-27-2006 12:11 PM
boot problem,windows reinstall? spx2 Linux - Newbie 27 01-16-2006 11:29 AM
Windows XP boot problem metallicafan_316 General 11 09-03-2005 08:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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