6.
sh-3.00# (type) reboot and press [Enter]
FedoraCore3 gets rebooted automatically and then it shows the warning to run “fsck” for solving problems but you have to ignore it. Your PC is at present booted to “init 1”, the Single User Mode.
7. Continue
Code:
# mkfs -t ext3 /dev/hda5
# mkfs -t ext3 /dev/hda6
# mkfs -t ext3 /dev/hda7
(all no printout)
8.one more trap happened is that it seemed doubling every part of data back to /home but zero action taken.
Code:
# cp -ar /home2/* /home/
9.
Code:
# mkdir /mnt/lfs
# mkdir /mnt/livecd
10.
Code:
Edited /etc/fstab
# nano /etc/fstab
Original /etc/fstab before editing;
Code:
# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/hdd /media/cdrom auto pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0
Changed
Code:
LABEL=/home /home ext3 defaults 1 2
to
Code:
/dev/hda5 /home ext3 defaults 1 2
Added:
Code:
/dev/hda6 /mnt/lfs ext3 defaults 1 2
/dev/hda7 /mnt/livecd ext3 defaults 1 2
/etc/fstab after editing;
Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda5 /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/hda6 /mnt/lfs ext3 defaults 1 2
/dev/hda7 /mnt/livecd ext3 defaults 1 2
/dev/hdd /media/cdrom auto pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0
11.
# reboot : PC rebooted with no trouble upto Login screen. I was not permitted to login as user, aphorism /home/user/ not found. however I was allowed to login as Root.
12. Later than login as Root I revealed /home being vacant. Started Kconsole.
Code:
# cp -ar /home2/* /home/
Logout and relogin. This time I was allowed to login as “user”
Bookmarks