partition nightmares

Andy.Q.Wu at seagate.com Andy.Q.Wu at seagate.com
Thu Jul 27 06:34:37 UTC 2006


I copied some instructions from the link sent you this morning.

            Mount the floppy drive if it's not mounted (assumes /mnt/floppy
            exists): mount -t msdos /dev/fd0 /mnt/floppy
            Run the following command: dd if=/dev/hda2
            of=/mnt/floppy/linux.bin bs=512 count=1
            Substitute the path for the if= parameter (the input file) with
            the appropriate partition from the previous step. E.g., set if=
            to /dev/hda2.

      Reboot into Windows

      Copy the linux.bin file to C:\

      Run notepad and edit C:\boot.ini. Note that C:\boot.ini is a hidden
      system file, so it probably won't show up in Windows Explorer. To
      edit the file, try: Start->Run and enter: notepad C:\boot.ini. Add
      the following line at the end: c:\linux.bin="Linux"

      Reboot again. You should be able to pick either Windows or Linux.
      Selecting Linux will start GRUB


                                                                           
             jim ruxton                                                    
             <cinetron at passpor                                             
             t.ca>                                                      To 
             Sent by:                  Getting started with Red Hat Linux  
             redhat-install-li         <redhat-install-list at redhat.com>    
             st-bounces at redhat                                          cc 
             .com                                                          
             No Phone Info                                         Subject 
             Available                 Re: partition nightmares            
                                                                           
                                                                           
             07/27/2006 08:58                                              
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
              Getting started                                              
               with Red Hat                                                
                   Linux                                                   
             <redhat-install-l                                             
              ist at redhat.com>                                              
                                                                           
                                                                           




Thanks Andy,
Sorry I've never done this before so am a bit nervous until I am totally
clear what to do. How do I back up my bootloader? What you are saying
is :
1) backup bootloader (not sure how I do this, just copy /boot?)
2) run fdisk /mbr off a bootable cd
3) reinstall bootloader (how do I do this?)
4) then you are saying I should be able to boot windows or linux again
from grub

I was wondering if you are someone could help fill in the blanks for me.
Thanks again for the help Andy.
cheers,
jim
> Yes. Before you run DOS FDISK, you need to back up your bootloader. Here
is
> the link you can refer to
> "http://www.geocities.com/epark/linux/grub-w2k-HOWTO.html".
>
>
>

>              jim ruxton

>              <cinetron at passpor

>              t.ca>
To
>              Sent by:                  Getting started with Red Hat Linux

>              redhat-install-li         <redhat-install-list at redhat.com>

>              st-bounces at redhat
cc
>              .com

>              No Phone Info
Subject
>              Available                 Re: partition nightmares

>

>

>              07/27/2006 08:12

>              AM

>

>

>              Please respond to

>               Getting started

>                with Red Hat

>                    Linux

>              <redhat-install-l

>               ist at redhat.com>

>

>

>
>
>
>
>
> > You can use FDISK to recover the MBR. The command is "FDISK /MBR".
> Won't this command overwrite my Grub bootloader as well?
> jim
> >
> >
> >
> >
>
> >              jim ruxton
>
> >              <cinetron at passpor
>
> >              t.ca>
> To
> >              Sent by:                  redhat-install-list at redhat.com
>
> >              redhat-install-li
> cc
> >              st-bounces at redhat
>
> >              .com
> Subject
> >              No Phone Info             partition nightmares
>
> >              Available
>
> >
>
> >
>
> >              07/27/2006 05:45
>
> >              AM
>
> >
>
> >
>
> >              Please respond to
>
> >               Getting started
>
> >                with Red Hat
>
> >                    Linux
>
> >              <redhat-install-l
>
> >               ist at redhat.com>
>
> >
>
> >
>
> >
> >
> >
> >
> > Hi, I recently reinstalled Fedora (went from 3 to 5) . Rather than
doing
> > an upgrade I did a complete reinstall. Everything went well till I
> > decided to create a FAT32 partition on my Windows partition . I dual
> > boot this machine. I was using Partition Magic while trying to create
> > the FAT32 partition. Next time I booted using Grub into my Windows
> > partition Windows wouldn't load. My files are still there and I can
> > mount them using ntfsmount in linux but can't start windows. When I
load
> > the windows systems CD that came with my laptop I can't start Windows
> > either. I really don't want to wipe my nice new FC5 to reload Windows.
> > Any thoughts what I can do to get Windows back? Here is the output of
> > fdisk -l ? Thanks.
> >
> > jim
> >
> >
> > Disk /dev/hda: 60.0 GB, 60011642880 bytes
> > 255 heads, 63 sectors/track, 7296 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> >    Device Boot      Start         End      Blocks   Id  System
> > /dev/hda1   *        3951        7296    26876713+   7  HPFS/NTFS
> > /dev/hda2               1          13      104391   83  Linux
> > /dev/hda3              14        3950    31623952+  8e  Linux LVM
> >
> > Partition table entries are not in disk order
> >
> > Disk /dev/dm-0: 31.2 GB, 31272730624 bytes
> > 255 heads, 63 sectors/track, 3802 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> > Disk /dev/dm-0 doesn't contain a valid partition table
> >
> > Disk /dev/dm-1: 1073 MB, 1073741824 bytes
> > 255 heads, 63 sectors/track, 130 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> > Disk /dev/dm-1 doesn't contain a valid partition table
> >
> >
> > _______________________________________________
> > Redhat-install-list mailing list
> > Redhat-install-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/redhat-install-list
> > To Unsubscribe Go To ABOVE URL or send a message to:
> > redhat-install-list-request at redhat.com
> > Subject: unsubscribe
> >
> >
> > _______________________________________________
> > Redhat-install-list mailing list
> > Redhat-install-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/redhat-install-list
> > To Unsubscribe Go To ABOVE URL or send a message to:
> > redhat-install-list-request at redhat.com
> > Subject: unsubscribe
> >
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe
>

_______________________________________________
Redhat-install-list mailing list
Redhat-install-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request at redhat.com
Subject: unsubscribe





More information about the Redhat-install-list mailing list