-
Junior Member
registered user
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!
-
Senior Member
registered user
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.
-
Junior Member
registered user
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..
-
Senior Member
registered user
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.
-
Junior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
bfree
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..?
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
Alterscape
![Quote](images/misc/quote_icon.png)
Originally Posted by
bfree
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!
-
Junior Member
registered user
Cool, cool.. thanks much for the link! I'll give it a shot.
-
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.
-
Junior Member
registered user
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
-
By satimis in forum General Support
Replies: 4
Last Post: 03-28-2006, 04:34 AM
-
By bluenose50 in forum General Support
Replies: 2
Last Post: 01-28-2005, 10:15 PM
-
By rrfish72 in forum General Support
Replies: 12
Last Post: 07-17-2004, 05:25 PM
-
By mschievano in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 05-12-2004, 06:34 PM
-
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
-
Forum Rules
![TP-Link 24-Port Gigabit Ethernet Unmanaged Switch Desktop/Rackmount TL-SG1024D picture](/store/img/g/rvkAAOSwZBBi5CPU/s-l225/TP-Link-24-Port-Gigabit-Ethernet-Unmanaged-Switch-.jpg)
TP-Link 24-Port Gigabit Ethernet Unmanaged Switch Desktop/Rackmount TL-SG1024D
$69.99
![Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED picture](/store/img/g/kjQAAOSwNkhj0o7Y/s-l225/Fortinet-FortiSwitch-FS-124D-POE-24-Port-Gigabit-E.jpg)
Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED
$99.97
![Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch picture](/store/img/g/-yUAAOSw-JVlyRj9/s-l225/Dell-X1018-X-Series-Smart-Managed-Switches-16-Port.jpg)
Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch
$42.00
![New In Box BNIB Cisco SG300-10 - 10-Port Ethernet Gigabit Managed Switch S23 picture](/store/img/g/0MsAAOSwS1JmG~B5/s-l225/New-In-Box-BNIB-Cisco-SG300-10-10-Port-Ethernet-Gi.jpg)
New In Box BNIB Cisco SG300-10 - 10-Port Ethernet Gigabit Managed Switch S23
$119.99
![NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter picture](/store/img/g/GtAAAOSw441l3Jx1/s-l225/NETGEAR-GS108-ProSafe-8-Port-GbE-Unmanaged-Switch-.jpg)
NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter
$14.99
![Dell X1026P E11W 24-Port PoE Smart Managed Gigabit Ethernet Switch 2X SFP picture](/store/img/g/KhoAAOSwVqZmUJTH/s-l225/Dell-X1026P-E11W-24-Port-PoE-Smart-Managed-Gigabit.jpg)
Dell X1026P E11W 24-Port PoE Smart Managed Gigabit Ethernet Switch 2X SFP
$25.00
![Dell X1052P Series 52-Port Gigabit Rack Mountable Managed Network Switch picture](/store/img/g/IjQAAOSwqrVmUJen/s-l225/Dell-X1052P-Series-52-Port-Gigabit-Rack-Mountable-.jpg)
Dell X1052P Series 52-Port Gigabit Rack Mountable Managed Network Switch
$30.00
![New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub picture](/store/img/g/QyIAAOSwTM5Y5YBC/s-l225/New-10-100-Mbps-8-Ports-Fast-Ethernet-LAN-Desktop-.jpg)
New 10/100 Mbps 8 Ports Fast Ethernet LAN Desktop RJ45 Network Switch Hub
$11.49
![Loocam Gigabit PoE Switch 8 Port 96W 2 Uplink Port Unmanaged Ethernet Switch picture](/store/img/g/BUMAAOSwtOFjdfzi/s-l225/Loocam-Gigabit-PoE-Switch-8-Port-96W-2-Uplink-Port.jpg)
Loocam Gigabit PoE Switch 8 Port 96W 2 Uplink Port Unmanaged Ethernet Switch
$49.99
![Aruba 2530-24G 24-Port Gigabit Ethernet Managed Network Switch J9776A picture](/store/img/g/ntIAAOSwM21mewkv/s-l225/Aruba-2530-24G-24-Port-Gigabit-Ethernet-Managed-Ne.jpg)
Aruba 2530-24G 24-Port Gigabit Ethernet Managed Network Switch J9776A
$45.00