-
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.
-
Senior Member
registered user
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
-
Senior Member
registered user
"...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
-
By jpavlicek in forum Hardware & Booting
Replies: 0
Last Post: 12-29-2005, 02:36 PM
-
By fechin in forum Hardware & Booting
Replies: 3
Last Post: 08-13-2005, 02:26 AM
-
By kn2user in forum General Support
Replies: 0
Last Post: 12-06-2004, 06:43 PM
-
By helios17 in forum General Support
Replies: 7
Last Post: 11-27-2004, 06:27 AM
-
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
![CISCO MERAKI MS120-24P-HW 24-PORT GIGABIT CLOUD MANAGED PoE SWITCH - UNCLAIMED picture](/store/img/g/uj4AAOSw8hhmYQRm/s-l225/CISCO-MERAKI-MS120-24P-HW-24-PORT-GIGABIT-CLOUD-MA.jpg)
CISCO MERAKI MS120-24P-HW 24-PORT GIGABIT CLOUD MANAGED PoE SWITCH - UNCLAIMED
$103.74
![Cisco WS-C3750X-48PF-S 48 Port PoE Gigabit Switch w/ C3KX-NM-10G & Dual 1100WAC picture](/store/img/g/dXYAAOSwqEBinnAI/s-l225/Cisco-WS-C3750X-48PF-S-48-Port-PoE-Gigabit-Switch-.jpg)
Cisco WS-C3750X-48PF-S 48 Port PoE Gigabit Switch w/ C3KX-NM-10G & Dual 1100WAC
$121.88
![GENUINE CISCO DS-SFP-FC32G-SW SFP NEW SEALED SEE PHOTOS SHIPS FREE picture](/store/img/g/MykAAOSwW7Fl2NpI/s-l225/GENUINE-CISCO-DS-SFP-FC32G-SW-SFP-NEW-SEALED-SEE-P.jpg)
GENUINE CISCO DS-SFP-FC32G-SW SFP NEW SEALED SEE PHOTOS SHIPS FREE
$69.99
![Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack picture](/store/img/g/cqoAAOSwtYVmS7LQ/s-l225/Cisco-WS-C2960X-48FPD-L-48-V07-POE-GE-2-10G-SFP-LA.jpg)
Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack
$110.00
![Cisco Nexus N3K-C3048TP-1GE 48P 1GbE 4P SFP+ Switch N3K-C3048TP-1GE picture](/store/img/g/ZDoAAOSwvPdmBd1b/s-l225/Cisco-Nexus-N3K-C3048TP-1GE-48P-1GbE-4P-SFP-Switch.jpg)
Cisco Nexus N3K-C3048TP-1GE 48P 1GbE 4P SFP+ Switch N3K-C3048TP-1GE
$89.00
![🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥 picture](/store/img/g/KTkAAOSwcmBisISE/s-l225/-CISCO-SFP-10G-SR-V03-10-2415-03-850nm-10GBASE-SR-.jpg)
🔥🔥🔥 CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module 🔥🔥🔥
$6.80
![Cisco C3KX-NM-10G 3K-X Network Module for 3750-X 3560-X picture](/store/img/g/Ca4AAOSw-iFmfdiX/s-l225/Cisco-C3KX-NM-10G-3K-X-Network-Module-for-3750-X-3.jpg)
Cisco C3KX-NM-10G 3K-X Network Module for 3750-X 3560-X
$23.99
![Cisco Nexus N3K-C3064PQ-10GX 48P 10GbE SFP+ 4P QSFP+ Switch (Fair) picture](/store/img/g/K9MAAOSw-4JmfV3v/s-l225/Cisco-Nexus-N3K-C3064PQ-10GX-48P-10GbE-SFP-4P-QSFP.jpg)
Cisco Nexus N3K-C3064PQ-10GX 48P 10GbE SFP+ 4P QSFP+ Switch (Fair)
$85.00
![Cisco Catalyst WS-C2960X-24PD-L GigE PoE 370W, 2 x 10G SFP+, LAN Base H22 picture](/store/img/g/AiwAAOSwZI9mTOhg/s-l225/Cisco-Catalyst-WS-C2960X-24PD-L-GigE-PoE-370W-2-x-.jpg)
Cisco Catalyst WS-C2960X-24PD-L GigE PoE 370W, 2 x 10G SFP+, LAN Base H22
$94.00
![Cisco STACK-T4-3M for C9200/9200L 3M Stacking Cable New picture](/store/img/g/QfIAAOSwgGNk9YK3/s-l225/Cisco-STACK-T4-3M-for-C9200-9200L-3M-Stacking-Cabl.jpg)
Cisco STACK-T4-3M for C9200/9200L 3M Stacking Cable New
$181.57