| View previous topic :: View next topic |
| Author |
Message |
rpil Tux's lil' helper


Joined: 23 May 2008 Posts: 140
|
Posted: Sun Nov 22, 2009 8:56 am Post subject: |
|
|
@d2_racing:
| Code: | drphibes drphibes # cat /etc/fstab
# /etc/fstab: static file system information.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
/dev/sda1 /boot ext2 defaults,noatime 1 2
/dev/sda2 none swap sw 0 0
/dev/sda3 / ext3 noatime 0 1
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
/dev/usb /mnt/usb auto noauto,user 0 0 |
| Code: | drphibes drphibes # mount
rootfs on / type rootfs (rw)
/dev/hda3 on / type ext3 (rw,noatime,errors=continue,data=writeback)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
rc-svcdir on /libexec/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) |
| Code: | drphibes drphibes # fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xaba5aba5
Device Boot Start End Blocks Id System
/dev/hda1 * 1 6 48163+ 83 Linux
/dev/hda2 7 69 506047+ 82 Linux swap / Solaris
/dev/hda3 70 9729 77593950 83 Linux |
| Code: | drphibes drphibes # cd /boot && ls -la
total 8
drwxr-xr-x 2 root root 4096 Nov 6 08:42 .
drwxr-xr-x 20 root root 4096 Nov 20 19:49 .. |
Here they are!  |
|
| Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 27174 Location: 56N 3W
|
Posted: Sun Nov 22, 2009 10:36 am Post subject: |
|
|
rpil,
You are using the old IDE drivers which gives you names like /dev/hda1 but your fstab is written using /dev/sda1.
You get SCSI names like that from using the new libata IDE drivers under the SATA menu in the kernel.
You have but no /dev/hda1 mounted.
Test with | Code: | | mount /dev/hda1 /boot |
Do you get an error on booting about checking the root filesystem ... "Press Ctrl-D to continue or give the root password to fix" ?
If the mount command works and you can see the content of /boot, change all the /dev/sda in fstab to /dev/hda _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
| Back to top |
|
 |
rpil Tux's lil' helper


Joined: 23 May 2008 Posts: 140
|
Posted: Sun Nov 22, 2009 10:45 am Post subject: |
|
|
Thanks, Neddy, I'll try it and tell you.
I must say, that with the live CD of Iloog I'm able to see the /boot partition and by the chrooting method, change it.  |
|
| Back to top |
|
 |
d2_racing Moderator


Joined: 25 Apr 2005 Posts: 12849 Location: Ste-Foy,Canada
|
Posted: Sun Nov 22, 2009 4:35 pm Post subject: |
|
|
Also, you should check your kernel, just to be sure that you use the new pata-sata method instead of the old ATAPI section. _________________ Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec |
|
| Back to top |
|
 |
rpil Tux's lil' helper


Joined: 23 May 2008 Posts: 140
|
Posted: Sun Nov 22, 2009 8:58 pm Post subject: |
|
|
Neddy,
The "mount" command worked fine, I changed the "sd" to "hd" in /etc/fstab and I was able to open the /boot/grub/menu.lst file, where I saw all the stuff:
| Code: | drphibes drphibes # mount /dev/hda1 /boot
drphibes drphibes # nano /etc/fstab
drphibes drphibes # nano /boot/grub/menu.lst |
|
|
| Back to top |
|
 |
rpil Tux's lil' helper


Joined: 23 May 2008 Posts: 140
|
Posted: Sun Nov 22, 2009 10:17 pm Post subject: |
|
|
I rebooted my box and the /boot partition is well mounted! I gave
| Code: | | nano /boot/grub/menu.lst |
and it opened fine!
Thanks!  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|