Find the answer to your Linux question:
Results 1 to 3 of 3
I think I deleted a system file in windows, it won't boot up. I can still boot linux. Is there a way that I can access my windows files from ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Posts
    2

    Help! Repairing windows boot.ini file from linux (Dual Boot)


    I think I deleted a system file in windows, it won't boot up. I can still boot linux. Is there a way that I can access my windows files from linux and possibly repair the lost file or recover the important ones. I'm running the OS's on a sony notebook that doesn't have floppy drive.

    Anyone have any idears?

    Thanks,
    Norzic

  2. #2
    Linux Engineer
    Join Date
    Dec 2002
    Location
    New Zealand
    Posts
    766
    if windows is running on a fat32 drive u can mount it in linux with
    (assuming win is on hda1 - first partition of pri. master)
    Code:
    mkdir /mnt/win
    mount -t vfat /dev/hda1 /mnt/win
    if its on ntfs then u can still mount it (change vfat to ntfs) and get ur data off. but ur gonna have to reinstall windows or use a windows recovery disk as u cant edit/write ntfs drives

  3. #3
    Just Joined!
    Join Date
    Jul 2004
    Posts
    2
    I did what you said, and this is the response I got.

    [root@localhost root]# mount -t ntfs /dev/hda1 /mnt/win
    mount: fs type ntfs not supported by kernel
    [root@localhost root]# mount -t vfat /dev/hda1 /mnt/win
    mount: wrong fs type, bad option, bad superblock on /dev/hda1,
    or too many mounted file systems

    I'm updating to the lates kernal now. I'm using RedHat.

    THanks for the help!

    Norzic

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •