-
Senior Member
registered user
Umm, is this right ?

Originally Posted by
Markus
sudo dd if=/dev/hdb1 of=/dev/hdb1/bootsect.lnx bs=512 count=1
I think it should be:
Code:
sudo dd if=/dev/hdb1 of=/mnt/hdb1/bootsect.lnx bs=512 count=1
-
uhnifedszss< (characters gotten from my forehead hitting the keyboard)
I think it should be:
Code:
sudo dd if=/dev/hdb1 of=/mnt/hdb1/bootsect.lnx bs=512 count=1
Yup, you're right.
And when chrooted into hdb1 it would be:
$ cd /
$ sudo dd if=/dev/hdb1 of=/bootsect.lnx bs=512 count=1
And for copying with root in hdb1:
$ cd /
$ mount /floppy
$ cp bootsect.lnx /floppy
$ umount /floppy
Copying without chrooting:
$ cd /mnt/hdb1
$ mount /floppy
$ cp bootsect.lnx /floppy
$ umount /floppy
Hope I got it at least close this time.
-
Anyone Care to clue me in...
Alright I'm still a little new to linux myself so please, be gentle.
I've got a challenge from my instructor; he wants me to figure out a way to install both windows xp pro and knoppix on a single hard drive. And it must be bootable, now he is clueless about linux so assistance from him is out of the picture.
With that said let me just give a brief summary as to how far along I am:
Got xp loaded, same with knoppix on the hard drive, 3 partitions, 1 swap, 1 knoppix, 1 xp. Xp is in the ntfs format, I followed the "Howto: dual-boot knoppix with nt/2000/xp" and so far everything has worked out fine. I can boot knoppix from the boot disk it created, lilo is not in the mbr, and xp boots normally and gives the option for one or the other.
Now my problem is if I use the knoppix boot option I get an error that tells me "<Windows root> \system32/hal.dd" isn't there and needs to be put back. I did a check in windows and it is listed under it's system32 folder, however I'm unsure if knoppix is needing this file as well. Anyone care to clue me in, I feel almost as if I'm simply missing something.
Thanx
-
okay, everything worked fine in linux, the problem this time is, i cant find boot.ini in my windows drive!!! now what?
-
never mind, i found it
-
okay, everything worked fine until the boot loader, it showed me knoppix and let me choose from either it or windows, when i chose knoppix all it did was just sit there with a black screen with a flashing cursor at the top, i waited a while, still the black screen. any clue what to do now?
-
Are you sure lilo wrote the output to hdb instead of trying to write to mbr?
Would you post your /etc/lilo.conf.
Did you need any cheatcodes when booting from the cd?
Also, when you ran lilo, did it say stuff like "added Linux"
Getting out of ideas here
-
well first things first, yes i did write lilo to my linux partition, im sure of it. second ive never even seen lilo nevermind running it. third thing, i usually use "knoppix lang=us" at bootup just so that it's in english so i can understand it but i dont think that would matter much would it? and fourth and final thing, i dont know how in the world im supposed to be coppying my lilo.conf so i can get it on to windows and i dont want to be hand writing it because i may make a mistake and that wouldn't be could. sorry about all the trouble here ive caused but i really want to get this to work. thanks alot
-
well first things first, yes i did write lilo to my linux partition, im sure of it. second ive never even seen lilo nevermind running it.
Well, after chrooting to hdb1 you can run lilo with just typing: /sbin/lilo
The thing is though, you have to remember to do the dd bootsect stuff each time after changing lilo.conf and running lilo.
i usually use "knoppix lang=us" at bootup just so that it's in english so i can understand it but i dont think that would matter much would it?
Nope, I was hoping for something like knoppix nodma which might have made a difference.
how in the world im supposed to be coppying my lilo.conf so i can get it on to windows
You could copy it over to a fat-partition, a floppy or over internet.
For floppy:
Boot the CD,
mount hdb1 and floppy, for floppy you need to write: mount /floppy
copy the file: cp /mnt/hdb1/etc/lilo.conf /floppy/
unmount the floppy with: umount /floppy
-
You could copy it over to a fat-partition, a floppy or over internet.
For floppy:
Boot the CD,
mount hdb1 and floppy, for floppy you need to write: mount /floppy
copy the file: cp /mnt/hdb1/etc/lilo.conf /floppy/
unmount the floppy with: umount /floppy
problem
remember the access denied thing that i had with my hard drive? well... ... ... ... ... ... the same thing happened with the floppy drive. now what? im really sorry about all of this but i really want to get this to work
Similar Threads
-
By gamezealot in forum Hdd Install / Debian / Apt
Replies: 12
Last Post: 01-21-2005, 09:43 PM
-
By rniles in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 12-19-2004, 09:05 PM
-
By helios17 in forum General Support
Replies: 7
Last Post: 11-27-2004, 06:27 AM
-
By Rib in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 08-07-2004, 12:43 PM
-
By 5y573m f41lur3 in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 05-20-2004, 12:04 AM
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

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$155.00

pfSense Firewall 16-Core Atom C3958 8GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN
$184.99

OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN
$288.00

SonicWall TZ280 Firewall 03-SSC-6933 Advanced Edition 3YR NEW SEALED
$999.99

OPNsense Firewall VPN QAT 8-Core Atom C3758 2.20GHz 8GB DDR4 64GB SSD 8x NIC
$115.00

Fortinet FortiGate 60F FG-60F P24286-03-13 Network Firewall Security Appliance
$155.75

Firewalla Gold Pro - 10 Gbps Cyber Security Firewall
$680.00

Palo Alto PA-220 Next-Gen Firewall 520-000309-00J
$40.00

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00

Cisco Meraki MX67-HW Security Appliance Firewall NEW Unused Unclaimed
$202.50