H
Heimat
hello
I have set up triple boot box.
First I installed linux, then added vista, and last added xp.
Until XP all worked fine, booting using grub worked like a charm. But
after XP installation sth. went broke. Seems that XP installed its boot
related files to vista partition making it unuseable.
my partitions are:
/dev/hda1 (PRI) - linux /boot (ext3)
/dev/hda2 (PRI) - XP (ntfs)
/dev/hda3 (PRI) - Vista (ntfs)
/dev/hda4 (EXT)
/dev/hda5 (LOG) - linux / (ext3)
/dev/hda6 (LOG) - linux swap
/dev/hda7 (LOG) - linux /home (ext3)
/dev/hda8 (LOG) - linux /usr (ext3)
boot flag is set to hda1.
Linux works fine.
sequence starts XP (previously it started Vista as it tries to boot
system from /dev/hda3 (hd0,2) )
gives 'A kernel file is missing from the disk. Insert a system diskette
and restart the system' message instead of booting XP which is located
on /dev/hda2 (hd0,1).
I made an investigation mounting both NTFS partitions under linux and
found out that on XP partition I have only pagefile.sys.
Here's what I have on both partitions:
heimat@heimat ~ $ ls -al /mnt/vista
razem 721240
drwxr-xr-x 1 root root 8192 lis 4 22:25 .
drwxr-xr-x 7 root root 4096 pa¼ 27 14:11 ..
-rwxr-xr-x 1 root root 24 lip 26 23:43 autoexec.bat
drwxr-xr-x 1 root root 4096 pa¼ 19 20:01 Boot
-rwxr-xr-x 1 root root 311 lis 4 22:37 boot.ini
-rwxr-xr-x 1 root root 435752 sie 30 11:38 bootmgr
-rwxr-xr-x 1 root root 8192 pa¼ 19 20:01 BOOTSECT.BAK
-rwxr-xr-x 1 root root 10 lip 26 23:43 config.sys
drwxr-xr-x 1 root root 0 sie 30 02:35 Documents and Settings
-rwxr-xr-x 1 root root 737730560 lis 4 10:29 hiberfil.sys
-rwxr-xr-x 1 root root 0 lis 4 20:07 IO.SYS
-rwxr-xr-x 1 root root 0 lis 4 20:07 MSDOS.SYS
drwxr-xr-x 1 root root 0 lis 4 20:43 msdownld.tmp
drwxr-xr-x 1 root root 0 pa¼ 19 22:40 MSOCache
-rwxr-xr-x 1 root root 47564 sie 4 2004 NTDETECT.COM
-rwxr-xr-x 1 root root 250032 sie 4 2004 ntldr
drwxr-xr-x 1 root root 4096 pa¼ 25 15:35 ProgramData
drwxr-xr-x 1 root root 8192 pa¼ 25 14:00 Program Files
drwxr-xr-x 1 root root 0 pa¼ 19 10:16 $Recycle.Bin
drwxr-xr-x 1 root root 20480 lis 4 20:11 System Volume Information
drwxr-xr-x 1 root root 4096 pa¼ 19 10:15 Users
drwxr-xr-x 1 root root 16384 lis 4 10:30 Windows
heimat@heimat ~ $ ls -la /mnt/xp
razem 1081424
drwxr-xr-x 1 root root 4096 lis 4 22:25 .
drwxr-xr-x 7 root root 4096 pa¼ 27 14:11 ..
drwxr-xr-x 1 root root 4096 lis 4 20:18 Documents and Settings
-rwxr-xr-x 1 root root 1107296256 lis 4 22:49 pagefile.sys
drwxr-xr-x 1 root root 4096 lis 4 21:04 Program Files
drwxr-xr-x 1 root root 0 pa¼ 19 10:16 $RECYCLE.BIN
drwxr-xr-x 1 root root 4096 lis 4 20:16 System Volume Information
drwxr-xr-x 1 root root 61440 lis 4 22:52 WINDOWS
XP was installed today evening (Nov 4) so it seems that all files
created that day on vista partition come from XP.
Now the question is: how to move them safely to XP partition and restore
VISTA?
After Vista installation /dev/hda3 was visible as C: and /dev/hda2 was
visible as D:, XP has not changed that.
Partitions were created using linux's fdisk, formated with mkfs.ntfs,
were not formatted againg during windows installations but seem to be in
order. XP set boot flag again to /dev/hda3
All help will be appreciated.
Thanks in advance
I have set up triple boot box.
First I installed linux, then added vista, and last added xp.
Until XP all worked fine, booting using grub worked like a charm. But
after XP installation sth. went broke. Seems that XP installed its boot
related files to vista partition making it unuseable.
my partitions are:
/dev/hda1 (PRI) - linux /boot (ext3)
/dev/hda2 (PRI) - XP (ntfs)
/dev/hda3 (PRI) - Vista (ntfs)
/dev/hda4 (EXT)
/dev/hda5 (LOG) - linux / (ext3)
/dev/hda6 (LOG) - linux swap
/dev/hda7 (LOG) - linux /home (ext3)
/dev/hda8 (LOG) - linux /usr (ext3)
boot flag is set to hda1.
Linux works fine.
Code:
rootnoverify(hd0,2)
makeactive
chainloader +1
boot
sequence starts XP (previously it started Vista as it tries to boot
system from /dev/hda3 (hd0,2) )
Code:
rootnoverify(hd0,1)
makeactive
chainloader +1
boot
gives 'A kernel file is missing from the disk. Insert a system diskette
and restart the system' message instead of booting XP which is located
on /dev/hda2 (hd0,1).
I made an investigation mounting both NTFS partitions under linux and
found out that on XP partition I have only pagefile.sys.
Here's what I have on both partitions:
heimat@heimat ~ $ ls -al /mnt/vista
razem 721240
drwxr-xr-x 1 root root 8192 lis 4 22:25 .
drwxr-xr-x 7 root root 4096 pa¼ 27 14:11 ..
-rwxr-xr-x 1 root root 24 lip 26 23:43 autoexec.bat
drwxr-xr-x 1 root root 4096 pa¼ 19 20:01 Boot
-rwxr-xr-x 1 root root 311 lis 4 22:37 boot.ini
-rwxr-xr-x 1 root root 435752 sie 30 11:38 bootmgr
-rwxr-xr-x 1 root root 8192 pa¼ 19 20:01 BOOTSECT.BAK
-rwxr-xr-x 1 root root 10 lip 26 23:43 config.sys
drwxr-xr-x 1 root root 0 sie 30 02:35 Documents and Settings
-rwxr-xr-x 1 root root 737730560 lis 4 10:29 hiberfil.sys
-rwxr-xr-x 1 root root 0 lis 4 20:07 IO.SYS
-rwxr-xr-x 1 root root 0 lis 4 20:07 MSDOS.SYS
drwxr-xr-x 1 root root 0 lis 4 20:43 msdownld.tmp
drwxr-xr-x 1 root root 0 pa¼ 19 22:40 MSOCache
-rwxr-xr-x 1 root root 47564 sie 4 2004 NTDETECT.COM
-rwxr-xr-x 1 root root 250032 sie 4 2004 ntldr
drwxr-xr-x 1 root root 4096 pa¼ 25 15:35 ProgramData
drwxr-xr-x 1 root root 8192 pa¼ 25 14:00 Program Files
drwxr-xr-x 1 root root 0 pa¼ 19 10:16 $Recycle.Bin
drwxr-xr-x 1 root root 20480 lis 4 20:11 System Volume Information
drwxr-xr-x 1 root root 4096 pa¼ 19 10:15 Users
drwxr-xr-x 1 root root 16384 lis 4 10:30 Windows
heimat@heimat ~ $ ls -la /mnt/xp
razem 1081424
drwxr-xr-x 1 root root 4096 lis 4 22:25 .
drwxr-xr-x 7 root root 4096 pa¼ 27 14:11 ..
drwxr-xr-x 1 root root 4096 lis 4 20:18 Documents and Settings
-rwxr-xr-x 1 root root 1107296256 lis 4 22:49 pagefile.sys
drwxr-xr-x 1 root root 4096 lis 4 21:04 Program Files
drwxr-xr-x 1 root root 0 pa¼ 19 10:16 $RECYCLE.BIN
drwxr-xr-x 1 root root 4096 lis 4 20:16 System Volume Information
drwxr-xr-x 1 root root 61440 lis 4 22:52 WINDOWS
XP was installed today evening (Nov 4) so it seems that all files
created that day on vista partition come from XP.
Now the question is: how to move them safely to XP partition and restore
VISTA?
After Vista installation /dev/hda3 was visible as C: and /dev/hda2 was
visible as D:, XP has not changed that.
Partitions were created using linux's fdisk, formated with mkfs.ntfs,
were not formatted againg during windows installations but seem to be in
order. XP set boot flag again to /dev/hda3
All help will be appreciated.
Thanks in advance