Results 1 to 9 of 9

Thread: nt bootloader with image from dd?

  1. #1
    Junior Member registered user
    Join Date
    Dec 2004
    Posts
    20

    nt bootloader with image from dd?

    Okay, so when I did the hdd install for Knoppix 3.7 (Debian-style), I told it to write the bootloader to /root instead of /mbr because I was scared of screwing up my MBR and messing up my windows bootloader. I know from previous installers that you can use the dd command to write the bootloader to an image file (dd if=/dev/hda1 of=/mnt/floppy/bootimage.img bs=512 count=1) and then copy that image to the nt drive and add the line C:\bootimage.img="Linux" to boot.ini .. I did all this for a previous redhat install and it worked fine, but things aren't going well for knoppix/debian. I know the problem isn't with the image, because I was able to use dd to write the image to the boot sector of another floppy, and it worked as a bootdisk (I booted with it just now, and am using it). Has anybody dealt with this? Thanks for any help!

  2. #2
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235
    When running
    Code:
    dd if=/dev/hda1 of=/mnt/floppy/bootimage.img bs=512 count=1
    ,
    you need to make sure the if= statement points to the correct partition holding the boot image.
    According to your other post, it was /dev/hda8, iirc.
    Change the command to:
    Code:
    dd if=/dev/hda8 of=/mnt/floppy/bootimage1.img bs=512 count=1
    You can copy that to your NTFS partition from the floppy once booted to windows and add it to your boot.ini.

  3. #3
    Junior Member registered user
    Join Date
    Dec 2004
    Posts
    20
    Are you sure I typed 'hda8' in the other post? It's definitely hda1. On my system, hda1 = 13gb linux, hda2 = 2gb linux swap, hda3 = 15gb ntfs (XP system files) and hdb1 = 80gb ntfs (data).

    I know that the image I extracted with DD is good, because when I use dd to write the image to the boot sector of a floppy, it then functions as a boot disk. The problem is somewhere with the ntfs bootloader and the image, I believe..

  4. #4
    Senior Member registered user
    Join Date
    Aug 2003
    Location
    Dublin, Ireland
    Posts
    164
    Forget this technique altogether, instead look at this thread on using grub with ntfs/fat and the windows boot loader. It's easier and more flexible.

  5. #5
    Junior Member registered user
    Join Date
    Dec 2004
    Posts
    20
    Quote Originally Posted by bfree
    Forget this technique altogether, instead look at this thread on using grub with ntfs/fat and the windows boot loader. It's easier and more flexible.
    Interesting link, bfree, but it looks like that stuff's dealing with booting knoppix from an ISO image of the CD, on an NTFS filesystem. I've got a seperate ext3 filesystem for linux system files, with Knoppix installed Debian-style. Will this still work for me..?

  6. #6
    Senior Member registered user
    Join Date
    Aug 2003
    Location
    Dublin, Ireland
    Posts
    164
    Quote Originally Posted by Alterscape
    Quote Originally Posted by bfree
    Forget this technique altogether, instead look at this thread on using grub with ntfs/fat and the windows boot loader. It's easier and more flexible.
    Interesting link, bfree, but it looks like that stuff's dealing with booting knoppix from an ISO image of the CD, on an NTFS filesystem. I've got a seperate ext3 filesystem for linux system files, with Knoppix installed Debian-style. Will this still work for me..?
    YES!

    The thread may be about booting an iso image, but the technique it describes involves installing a copy of grub in your windows boot menu, you can then config grub to boot whatever you want Just follow normal grub setup instructions!

  7. #7
    Junior Member registered user
    Join Date
    Dec 2004
    Posts
    20
    Cool, cool.. thanks much for the link! I'll give it a shot.

  8. #8
    Junior Member
    Join Date
    Dec 2004
    Location
    Malaysia
    Posts
    6
    hiya all,
    need help here. what if i still wanna use this ntloader to boot my knoppix3.7.
    can all the solution above do it?
    it's just that i don't wanna get into any trouble if the bootdisk fails.

  9. #9
    Junior Member registered user
    Join Date
    Dec 2004
    Posts
    20
    Okay, so I downloaded Giles' most recent grubd.zip, and it looks useful. I don't know how to set up menu.lst to boot my Debian-style Knoppix install. Here's what's going on..

    hda1: ext3 knoppix 3.7 linux partition
    hda2: linux swap
    hda3: NTFS WinXP system
    hdb1: NTFS data

    I presume I need a line in grub's menu.lst to the tune of

    Code:
    title Knoppix 3.7 kernel 2.4 from ext3 hda1
            kernel (hd0,0)/something/ 
            initrd (hd0,0)/somethingelse/
    but I don't know what should take the place of the 'something.'

Similar Threads

  1. About bootloader
    By satimis in forum General Support
    Replies: 4
    Last Post: 03-28-2006, 04:34 AM
  2. bootloader
    By bluenose50 in forum General Support
    Replies: 2
    Last Post: 01-28-2005, 10:15 PM
  3. bootloader timeout
    By rrfish72 in forum General Support
    Replies: 12
    Last Post: 07-17-2004, 05:25 PM
  4. no BootLoader with knoppix 3.4
    By mschievano in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-12-2004, 06:34 PM
  5. Bootloader and ATA-Raid
    By RealNeo in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 04-24-2003, 12:34 PM

Posting Permissions

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


H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W picture

H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W

$2612.18



Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS picture

Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS

$2749.99



Dell PowerEdge R730 8 SFF 2x E5-2660 v4 28 Cores 128/256GB 0/3x 900GB 6Gbps H730 picture

Dell PowerEdge R730 8 SFF 2x E5-2660 v4 28 Cores 128/256GB 0/3x 900GB 6Gbps H730

$349.99



Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 192GB | 8x HDD Trays picture

Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 192GB | 8x HDD Trays

$1939.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$79.19



HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD picture

HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD

$196.95



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00



DELL R730XD Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4x 1.2TB SAS 4xRJ45 picture

DELL R730XD Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4x 1.2TB SAS 4xRJ45

$504.00