Re: usb hp floppy drive recognition fedora 4 installation
From: P Ruetz (parmailbox-news_at_yahoo.com)
Date: 09/25/05
- Previous message: Duane Evenson: "Re: GRUB for two HD's"
- In reply to: Lenard: "Re: usb hp floppy drive recognition fedora 4 installation"
- Next in thread: Lenard: "Re: usb hp floppy drive recognition fedora 4 installation"
- Reply: Lenard: "Re: usb hp floppy drive recognition fedora 4 installation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Duane Evenson: "Re: GRUB for two HD's"
- In reply to: Lenard: "Re: usb hp floppy drive recognition fedora 4 installation"
- Next in thread: Lenard: "Re: usb hp floppy drive recognition fedora 4 installation"
- Reply: Lenard: "Re: usb hp floppy drive recognition fedora 4 installation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|