Results 1 to 3 of 3

Thread: Installed Knoppix does not boot due to change in USB port

  1. #1
    Junior Member
    Join Date
    May 2007
    Posts
    1

    Installed Knoppix does not boot due to change in USB port

    I need help as I am new to Linux. I have installed the Knoppix Live CD on a USB drive by first booting it in VMWare.
    1. Now whenever I try to boot it on other desktop, it fails to find root (it looks like somewhere it has hard registered the root drive as /dev/sda1) as the USB drive is now sdb instead of sda. So I have to again reboot, find the drive name (sda or sdb or sdc) and then pass it as kernel parameter. Can anyone please suggest, how can I have knoppix automatically find the root and boot without issues, I like the way xubuntu identifies drives with UUID, so even if the USB port changes, new partition arrives, the root is recognized correctly.

    2. After passing the root=/dev/sdxx, booting does fail for root drive, but further it fails while executing swapon /dev/sda1 during boot (now it's sdb1), and then I am dropped to the bash shell.

    It would be appreciable is someone can help me out in this. Thanks.

  2. #2
    Senior Member registered user
    Join Date
    Jul 2006
    Posts
    122
    boot with the knoppix CD and edit the fstab on /dev/sdb1 to reflect the change in root device.

    i.e.

    Change from: /dev/sda1 / ext3 defaults

    to: /dev/sdb1 / ext3 defaults





    As far as mount via UUID maybe google can turn up some help... been curious about this one myself.


    Take Care,
    -Justin
    One Mynds Eye

  3. #3
    Senior Member registered user
    Join Date
    Jul 2006
    Posts
    122
    "...been curious about this one myself. .."


    so I checked.... pretty straight forward:

    ' ls -l /dev/disk/by-uuid/ ' will show you all UUID's



    The entry in /etc/fstab should look like:

    # Device # Mountpoint #filesystem #Options
    UUID=f9ac5b2e-cc45-4479-8871-f9fc40134cf0 / ext3 defaults,noatime 0 0

    and the root= parameter for the kernel cmdline:

    root=UUID=f9ac5b2e-cc45-4479-8871-f9fc40134cf0



    Take care,
    -Justin
    One Mynds Eye

Similar Threads

  1. How to boot KNOPPIX 4.0.2 installed on USB hard drive
    By jpavlicek in forum Hardware & Booting
    Replies: 0
    Last Post: 12-29-2005, 02:36 PM
  2. Installed Knoppix 3.9 to SATA HDD but it wont boot.
    By fechin in forum Hardware & Booting
    Replies: 3
    Last Post: 08-13-2005, 02:26 AM
  3. How to get a list of parrallel port and serial port?
    By kn2user in forum General Support
    Replies: 0
    Last Post: 12-06-2004, 06:43 PM
  4. installed kanotix to hdb, lost boot option to boot knoppix
    By helios17 in forum General Support
    Replies: 7
    Last Post: 11-27-2004, 06:27 AM
  5. I ve installed knoppix but cant boot
    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
  •  


Juniper SRX650 VPN Firewall Security Hub SRX650-BASE-SRE6-645AP w/SRX-GP-IM picture

Juniper SRX650 VPN Firewall Security Hub SRX650-BASE-SRE6-645AP w/SRX-GP-IM

$99.99



Juniper MX-MPC2-3D-A Router Card + MIC-3D-4XGE-XFP-A & MIC-3D-20GE-SFP picture

Juniper MX-MPC2-3D-A Router Card + MIC-3D-4XGE-XFP-A & MIC-3D-20GE-SFP

$799.99



JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER picture

JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER

$210.00



Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch picture

Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch

$40.18



Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch picture

Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch

$89.00



Juniper EX2300-24P Poe+ Rack Mountable Ethernet Switch picture

Juniper EX2300-24P Poe+ Rack Mountable Ethernet Switch

$130.00



Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord picture

Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord

$53.99



Juniper Networks EX2300-C 12-Port 2XSFP Uplinks PoE+ Switch P/N: EX2300-C-12P picture

Juniper Networks EX2300-C 12-Port 2XSFP Uplinks PoE+ Switch P/N: EX2300-C-12P

$299.99



Juniper QFX5100-48T-AFO   48 100M/1G/10G Base-T 6 QSFP AFO picture

Juniper QFX5100-48T-AFO 48 100M/1G/10G Base-T 6 QSFP AFO

$485.00



 New Factory Sealed Juniper EX2300-48P Networks 48-Port Managed Ethernet Sealed picture

New Factory Sealed Juniper EX2300-48P Networks 48-Port Managed Ethernet Sealed

$499.00