Boot off the Knoppix cd and launch a shell:Code:su mkdir /media/hdb6 mount -o rw /dev/hdb6 /media/hdb6 mcedit /media/hdb6/etc/fstab umount /media/hdb6
I was tweaking my Ubuntu fstab and I messed up.
I am using Knoppix 4.0.2 CD, in a terminal I entered this: Sudo mcedit /dev/hdb6/ect/fstab
I was able to edit my fstab but when I tried to save it I could not using F2 or the drop down menu.
What am I missing, does anyone know what I may be doing wrong ? This is my work computer and I would be forever grateful if someone could help me please......
sarah
Boot off the Knoppix cd and launch a shell:Code:su mkdir /media/hdb6 mount -o rw /dev/hdb6 /media/hdb6 mcedit /media/hdb6/etc/fstab umount /media/hdb6
I get this: can not create directory /media/hdb6, no such file or directoryCode:mkdir /media/hdb6
mount point /media/hdb6 does not existCode:mount -o rw /dev/hdb6 /media/hdb6
mount /dev/hdb6 already mounted or busyCode:mount /dev/hdb6
Did you boot off the Knoppix cd without clicking on any of the hard drive icons on the desktop?
Did you enter "su" as first command?
Is your existing Ubuntu install located on hdb6 = 6th partition on the secondary hard drive?
More precisely, the second logical drive on the extended partition. Even with 1 primary partition and one exteded partition containing as few as 2 logical drives, the first logical drive on the second (slave) disk on the first IDE controler would be hdb5 and the second logical drive would be hdb6.Originally Posted by ockham23
Now you have a good question there, I do not remember if I did or did not open up the hdb6 icon. Is this important ?Originally Posted by ockham23
I can answer yes to thisDid you enter "su" as first command?
yes again....Is your existing Ubuntu install located on hdb6 = 6th partition on the secondary hard drive?
I assumed you were somewhat familiar with linux commands. Here's an explanation:
su # become root
mkdir /media/hdb6 # create mount point "hdb6" inside directory "media"; assuming mount point doesn't exist already
mount -o rw /dev/hdb6 /media/hdb6 # mount hdb6 and make it writable; clicking on the desktop icon will mount the drive "read only"
mcedit /media/hdb6/etc/fstab # launch editor
umount /media/hdb6 # unmount partition when you're done
here is what I have, with Ubuntu on hdb6:Originally Posted by Harry Kuhman
/dev/hdb1 reiserfs 13.97 GB
/dev/hdb2 extended 19.75 GB
/dev/hdb5 linux swap 1.12 GB
/dev/hdb6 boot 18.63 GB
/dev/hdb3 reiserfs 19.53 GB
/dev/hdb4 reiserfs 21.27 GB
ok, let me try booting Knoppix CD again and I will make sure I have not clicked on the hdb6 icon, I'll be back.......Originally Posted by ockham23
regards,
sarah
ockham23,
thank you for the commands explaination, I am under average using linux commands, I have a personal file that I have saved my most important commands, I do a lot of copy and pasting. I wasted about a year with Linspire, (no commands needed) and have been using Ubuntu for about a year and love it.
But anyway, I booted Knoppix up again, made sure I did not open the hdb6 icon, then opened a terminal and tried your commands again but had the same results again as before.
ASUS H170M-PLUS Motherboard M-ATX Intel H170 LGA1151 DDR4 SATA3 HDMI DVI-D VGA
$47.99
Asus H110M-C LGA 1151 DDR4 SDRAM Desktop Motherboard w/ I/O shield
$39.95
ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard
$84.99
ASUS PRIME H310M-C R2.0 Motherboard M-ATX Intel H310 LGA1151 DDR4 SATA3 DVI VGA
$39.95
Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk
$41.07
GIGABYTE GA-X99-UD4P MOTHERBOARD, M.2 SATA3, LGA2011-3, DDR4, & I/O Shield
$69.99
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$96.01
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard
$54.99
Asus Prime X299- A Intel LGA 2066 ATX Motherboard & Intel Core I7-7800X
$168.99
ASUS AMD AM4 Pro WS X570-Ace ATX Workstation Motherboard with 3 PCIe 4.0 X16
$202.50