VectorLinux
August 31, 2014, 11:59:10 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: partition (RESOLVED)  (Read 1127 times)
flip city
Packager
Vectorite
****
Posts: 340


Way Out In HyperSpace


« on: October 26, 2009, 06:27:30 pm »

 while doing some changes with g-parted on the master hard drive,(I added a new partition); the partition where vector 6 resides(hda6), was changed to hda5. I adjusted the /boot/grub/menu.lst file(I opt for an all grub boot) to reflect the change, however, when starting Vector, it shows an /sbin/e2fsck/dev/hda6 error message. What command do I issue to correct it to read hda5.
« Last Edit: October 27, 2009, 08:49:10 am by flip city » Logged

uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #1 on: October 26, 2009, 06:57:34 pm »

you need to edit /etc/fstab so it shows /dev/hda5 /
Logged
flip city
Packager
Vectorite
****
Posts: 340


Way Out In HyperSpace


« Reply #2 on: October 26, 2009, 07:36:34 pm »

naturally vector will not completely boot, so I became root and used mc to get to the /etc/fstab file. I then edited it (change line to read hda5 instead of hda6) and when tying to exit and save the modification, it would not allow the file to be saved. What me do now ?
« Last Edit: October 27, 2009, 08:42:41 am by flip city » Logged

uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #3 on: October 26, 2009, 07:50:33 pm »

you can either boot a livecd and fix it from there or remount the root filesystem rw
Code:
mount -o remount rw /
then you should be able to save your changes
Logged
flip city
Packager
Vectorite
****
Posts: 340


Way Out In HyperSpace


« Reply #4 on: October 26, 2009, 08:47:58 pm »

 back home in Vector safe and sound! That was a valuable learning node, since I will be tweaking the hard drive from time to time. I used the live cd Mint 7xfce. There's a system application,(in the menu it's called Remote Filesystems) named gigolo, that let me see Vector, then opened Vector and went to the etc file; mounted it as root(right click, then select open as root); then found fstab and modified the hda6 line to read hda5; then saved. Reboot.

my humble thanks
« Last Edit: October 27, 2009, 08:44:27 am by flip city » Logged

nightflier
Administrator
Vectorian
*****
Posts: 4022



« Reply #5 on: October 27, 2009, 04:31:03 am »

Keeping a Live CD around is a must for code hackers. In cases like this you just boot from it, then use the live environment for troubleshooting and repair.

Luckily, flip city caught uelsk8s between session.  Wink
Logged
flip city
Packager
Vectorite
****
Posts: 340


Way Out In HyperSpace


« Reply #6 on: October 27, 2009, 08:08:37 am »

Luckily, flip city caught uelsk8s between session.  Wink

Afterglow...and a tweakin we go!
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!