Results 1 to 3 of 3

Thread: linux.bin - v.3.3

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Posts
    2

    linux.bin - v.3.3

    I installed v3.3 from a purchased CD to a dual boot with winXP.

    When I use the CD to access Knoppix, on the Knoppix desktop, the boot partition is labeled hda3, the linux system partition is hda7.

    During the installation to my HD the creation of a boot floppy failed.

    In a subsequent attempt to get linux.bin from the CD to a formatted floppy I tried this command string:
    dd if=/dev/hda3 of=mnt/floppy/linux.bin bs=512 count=1

    The attempt failed. A find file search shows that /dev/hda3 is listed as "inaccessible". As a result I have no linux.bin that I can install in "C" and therefore any attempt to alter the boot.ini with the line C:\linux.bin="linux" fails.

    Can someone suggest a way to get access to the linux partition on my HD? I know very little about linux and linux commands so it would help if a very simple step-by-step process is posted. TIA

  2. #2
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    boot your cd with: #Note: command line commands are bold and edits are italic
    knoppix 2 #which will get you running as root in text mode
    then mount /dev/hda3 /mnt/hda3
    and then mount /dev/hda7 /mnt/hda7
    then just in case the partitions are mounted read-only
    mount -o remount,rw /dev/hda3
    and mount -o remount,rw /dev/hda7
    then cd /mnt/hda7
    then chroot /mnt/hda7
    now using an editor (ie,: nano or another editor) look at and if necessary edit your /etc/lilo.conf file and make sure your:
    boot entry is: boot=/dev/hda3
    and root is: root=/dev/hda7
    then (assuming the rest of lilo.conf is OK) re-run lilo:
    /sbin/lilo -v
    and note any errors, if you don't have any errors then use dd to copy the bootrecord to floppy (necessary if you are using ntfs on your xp install):
    dd if=/dev/hda3 of=/dev/fd0/linux.bin count=1 bs=512
    then follow (garyng's) directions to put linux.bin where it's needed on your xp system and edit your boot.ini (or whaterver it's called ... to chain boot the knoppix bootrecord)

    Sorry I can't help you any more regarding xp, I've really never used it.

    HTH

    ~rock

  3. #3
    Junior Member
    Join Date
    Nov 2003
    Posts
    2
    Thanks for your help.
    I believe I got everything correct up through the "chroot /mnt/hda7" line.
    When I pressed enter, after that entry, I got a line that read,
    sh-2.05b#
    I don't know what that means but I exited the root window at that point.

    [BTW, what is a command that would get me to the default CD desktop at that point.]

    Your next suggestion was to then go to a file editor to view /etc/lilo.conf
    I keep getting an access denied message, and/or permission denied, with a find file search in the default GUI and with a root command line search.

    Clicking on the file +lost&found I get refused access.

    I copied hda3 from the desktop to a floppy. Reading the contents while in Windows this is what I see,

    [Desktop Entry]
    Actions=Remount
    Type=FSDevice
    Dev=/dev/hda3
    MountPoint=/mnt/hda3
    FSType=auto
    ReadOnly=1
    Icon=hdd_mount
    UnmountIcon=hdd_unmount
    Name=Hard Disk Partition [hda3]
    Name[es]=Partición del disco duro [hda3]

    [Desktop Action Remount]
    Icon=hdd_mount
    Exec=remountrw /dev/hda3;true
    Name=Change read/write mode
    Name[de]=Lese-/Schreibmodus ändern
    Name[es]=Cambiar modo lectura/escritura

    That is the same list that i got yesterday before going through the commands you recommended.

    Yes, I am using NTFS.
    I setup so that lilo is supposed to be on a separate 50MB linux partition, before Windows XP, knoppix is supposed to be on a 3GB partition after 3 separate Windows NTFS partitions, the linux swap-file is supposed to be on a .27GB partition at the end of the list.

    Further assitance would be helpful, TIA




    Rockmumbles wrote:
    boot your cd with: #Note: command line commands are bold and edits are italic
    knoppix 2 #which will get you running as root in text mode
    then mount /dev/hda3 /mnt/hda3
    and then mount /dev/hda7 /mnt/hda7
    then just in case the partitions are mounted read-only mount -o remount,rw /dev/hda3
    and mount -o remount,rw /dev/hda7
    then cd /mnt/hda7
    then chroot /mnt/hda7
    now using an editor (ie,: nano or another editor) look at and if necessary edit your /etc/lilo.conf file and make sure your:
    boot entry is: boot=/dev/hda3
    and root is: root=/dev/hda7
    then (assuming the rest of lilo.conf is OK) re-run lilo:
    /sbin/lilo -v
    and note any errors, if you don't have any errors then use dd to copy the bootrecord to floppy (necessary if you are using ntfs on your xp install):
    dd if=/dev/hda3 of=/dev/fd0/linux.bin count=1 bs=512
    then follow (garyng's) directions to put linux.bin where it's needed on your xp system and edit your boot.ini (or whaterver it's called ... to chain boot the knoppix bootrecord)

Similar Threads

  1. Able to dual boot XP and linux but Linux goes to GRUB, help
    By istoleapig in forum Hardware & Booting
    Replies: 2
    Last Post: 02-19-2005, 09:28 AM
  2. Printing: XP to Linux or Linux to XP
    By mpeden in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 12-11-2004, 12:09 AM
  3. New to Linux and need to know how to become disturbum linux
    By ziggyrafiq in forum General Support
    Replies: 0
    Last Post: 09-12-2004, 10:40 PM
  4. Dizinha Linux, New project for "Small" Linux
    By Lame_Duck in forum Customising & Remastering
    Replies: 0
    Last Post: 02-08-2004, 05:19 PM
  5. Microsoft-Linux!(MS-Linux)
    By bongski55 in forum The Lounge
    Replies: 5
    Last Post: 12-08-2003, 04:14 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
  •  


TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597 picture

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597

$36.98



Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch picture

Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch

$115.00



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed picture

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed

$199.99



Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks picture

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks

$224.95