Re: usb hp floppy drive recognition fedora 4 installation

From: P Ruetz (parmailbox-news_at_yahoo.com)
Date: 09/25/05

  • Next message: Lenard: "Re: usb hp floppy drive recognition fedora 4 installation"
    Date: Sun, 25 Sep 2005 15:19:07 GMT
    
    

    "Lenard" <Lenard@127.0.0.1> wrote in message
    news:PRCTe.1262$mj1.1086@newssvr30.news.prodigy.com...
    > panku88@gmail.com wrote:
    >
    >
    > Boot into Linux and copy the boot image from the first sector of your
    > boot partition. You'll want to take 512 bytes of this partition once,
    > and write it out to a file called bootsect.lnx. The entry should look
    > like:
    >
    > dd if=/dev/hdXy of=/bootsect.lnx bs=512 count=1
    >
    > Move that file onto your c:\ drive and edit boot.ini, adding the
    > following line:
    >
    > c:\bootsect.lnx="Linux"
    >
    > Note: /dev/hdXy is your Linux boot partition, for example /dev/hda2

    This did not work for me with CentOS (maybe that is the problem). I have
    CentOS 4.1 in /dev/sdb7 (in an extended partition if that is important).
    When I look at the bootsect.lnx file (od -h) produced above it is all zeros.

    I tried all of the partitions on /dev/sdb and none of them worked. /dev/sdb
    produced a file that resulted in booting to the diagnostics partition on
    /dev/sda1 (?).

    sdb1 -> NTFS partion
    sdb5 -> FAT partition
    sdb6 -> swap partition
    sdb7 -> Linux partition

    The NTFS and FAT partitions were created in Windows before installing Linux.

    > Starting with a blank *formatted* msdos floppy, as root from the console
    > or xterm session;
    >
    > # mount -t msdos /dev/sda /media/floppy
    >
    > # grub-install --root-directory=/media/floppy /dev/sda
    >
    > # cp /boot/grub/grub.conf /media/floppy/boot/grub/grub.conf
    >
    > # umount /media/floppy
    >

    I couldn't get this to work either. Do you mean /dev/fd0 in the mount
    command? Otherwise it seems you are mounting the first serial drive as the
    floppy.

    Should it be /dev/fd0 in the grub-install command?

    I never used grub before (except that it is now installed on the HD and
    allows me to boot to Windows or Linux). I would like to create a boot
    floppy/CD and remove it from my HD if possible.

    Thanks,
    Peter


  • Next message: Lenard: "Re: usb hp floppy drive recognition fedora 4 installation"

    Relevant Pages

    • Re: Windows multiboot (aaargh!)
      ... >> The Linux boot floppy is a bit more tricky. ... So I tried adding cfdisk to a spare Debian Woody boot ... > I reduced all the partition sizes by a third. ...
      (Debian-User)
    • Re: Multiple questions...
      ... >in Windows Xp Home Edition. ... >boot into Linux and DOS. ... >installing 3 OS's on a single partition, or is there a simpler way... ...
      (microsoft.public.windowsxp.hardware)
    • Re: lilo not in MBR
      ... NS> I have the following disk configuration: ... On NTFS partition I have working Win XP system. ... NS> Linux Ext2. ... NS> active parititon from Win XP with PartitionMagic to Linux Ext2 partition, boot ...
      (comp.os.linux.misc)
    • Re: FW: FW: [SLE] Urgent! Need help!
      ... >> Device Boot Start End Blocks Id System ... >>As you told earlier, you should have only one Linux partition, so it ... >>You have found the partition you was looking for!. ... > title windows ...
      (SuSE)
    • Re: [SLE] grub refuses to grub
      ... > for Windows and 60 gig HD for Linux, a regular CDROM and a CDRW. ... > which distro I try to install and have install Grub, ... > where the actual boot sector is, and I gather, where the actual Grub ... whole HD as a single partition. ...
      (SuSE)