-
Senior Member
registered user
Maybe there's no "/media" directory. Replace "/media" with "/mnt" and try again.
-
Junior Member
registered user

Originally Posted by
ockham23
Let me explain how I got to this point in the first place. I had two partitions that Ubuntu nautilus could not see, hdb3 & hdb4. Gparted could see them. I finally got Ubuntu to recognize them, but then I could not get permssion. That was when I started tweaking fstab and the next boot failed, I could not and still can not boot into Ubuntu. That is why I am trying to edit fstab from a live CD. About the command above, do I use that command in knoppix seeing I can not boot Ubuntu or were you assuming I could boot in to Ubuntu ?
-
Senior Member
registered user
This is from Knoppix, just to list the contents of /media. And, while you're at it, you could post the output of
-
Junior Member
registered user
root@0[knoppix]# fdisk -l
Disk /dev/hda: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 3648 29302528+ c W95 FAT32 (LBA)
Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 1824 14651248+ 83 Linux
/dev/hdb2 1825 4402 20707785 5 Extended
/dev/hdb3 4403 6952 20482875 83 Linux
/dev/hdb4 6953 9729 22306252+ 83 Linux
/dev/hdb5 1825 1970 1172713+ 82 Linux swap / Solaris
/dev/hdb6 * 1971 4402 19535008+ 83 Linux
Disk /dev/sda: 259 MB, 259522560 bytes
65 heads, 32 sectors/track, 243 cylinders
Units = cylinders of 2080 * 512 = 1064960 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 244 253424 4 FAT16 <32M
Partition 1 has different physical/logical endings:
phys=(249, 64, 32) logical=(243, 44, 32)
-------------------------------------------------------------------------------------------------------------------------------------
root@1[knoppix]# ls /media
ls: /media: No such file or directory
-
Senior Member
registered user
ls: /media: No such file or directory
Is this Knoppix 4.0 or an older version? Ok, check whether directory "/mnt" exists. If so, the commands are
Code:
su
mkdir /mnt/hdb6
mount -o rw /dev/hdb6 /mnt/hdb6
mcedit /mnt/hdb6/etc/fstab
umount /mnt/hdb6
-
Junior Member
registered user
[quote="ockham23"]
Is this Knoppix 4.0 or an older version?
Knoppix 4.0.2
-
Senior Member
registered user
Strange, I have 4.0.1 and mount points are in /media. Anyway, /mnt will do as well (if it exists, that is).
-
Senior Member
registered user
Try this,
When you get the knoppix boot screen, type: knoppix 2, this will bott you into a command line and you are root.
Now from the command line, type: startx, this will start the xsession and you should be able to proceed, as root, in a graphical mode to peruse your partitions and edit /etc/fstab, wherever it may be without sudo first.
HTH
-
Junior Member
registered user

Originally Posted by
ockham23
ls: /media: No such file or directory
Is this Knoppix 4.0 or an older version? Ok, check whether directory "/mnt" exists. If so, the commands are
Code:
su
mkdir /mnt/hdb6
mount -o rw /dev/hdb6 /mnt/hdb6
mcedit /mnt/hdb6/etc/fstab
umount /mnt/hdb6
ok, good deal, I was able to access, edit and save my changes in hdb6 fstab with the above commands. Thank you so much for being patient and walking me through this. I allready have this post and the commands added to my library.
This post can be closed,
the knoppix forums are great,
sarah
-
Junior Member
registered user

Originally Posted by
rusty
Try this,
When you get the knoppix boot screen, type: knoppix 2, this will bott you into a command line and you are root.
Now from the command line, type: startx, this will start the xsession and you should be able to proceed, as root, in a graphical mode to peruse your partitions and edit /etc/fstab, wherever it may be without sudo first.HTH
This sounds interesting, thanks rusty I'll give it a try. I like graphic's.......
sarah
Similar Threads
-
By Uncle Stinky in forum Hardware & Booting
Replies: 3
Last Post: 02-03-2008, 08:53 AM
-
By cheetahman in forum General Support
Replies: 19
Last Post: 03-21-2005, 11:58 AM
-
By donutman in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 08-25-2004, 07:24 PM
-
By sfit in forum Customising & Remastering
Replies: 1
Last Post: 10-26-2003, 04:49 AM
-
By iomari in forum Customising & Remastering
Replies: 3
Last Post: 10-10-2003, 10:54 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

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w
$538.88

MICROSOFT WINDOWS SERVER 2025 RDS 50 CAL NEW Factory Sealed
$136.87

Windows Server 2025 datacenter 64bit 24 Core 50 cal DVD + PRODUCT LICENSE KEY
$44.54

Windows Server 2025 Standard Edition - 24 Core License
$238.00

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$484.99

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 6150 64GB 2x 750w
$218.88

USB 2.0 Network Print Server LAN Print Share Server USB Wireless Print Server
$31.49

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50