Find the answer to your Linux question:
Results 1 to 7 of 7
hi somehow I have ended up with a partition that suse 10.1 fails to recognise on boot up I'm running an ancient dell dimension v400c with an 8Gb hard drive ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2006
    Location
    uk
    Posts
    16

    missing partition on bootup


    hi

    somehow I have ended up with a partition that suse 10.1 fails to recognise on boot up

    I'm running an ancient dell dimension v400c with an 8Gb hard drive and 320Mb RAM. I did have dual boot (!) with separate win 98 and suse partitions but ran out of space so re-installed with suse alone. for some reason this gave me a logical volume partition arrangement (1Gb swap; 7Gb LV ) but this didn't seem to work.

    I've rearranged the partitions by shrinking the logical volume to 5.3 and creating a separate partition of 1.7 on which I've put my home directory. however on booting I get an error message telling me that I have wrong permissions and ownership and it closes me down in less than 10 seconds. when I log in as root I discover that it isn't recognising the separate partition. I can then overcome this by typing in terminal [ mount /dev/hda1 /mnt/test ] and then relogging in as self at which point all is well.

    I'm sure there should be of incorporating this command in the bootup instructions but am not sure how to do this - any help much appreciated

    thanks

    andy

  2. #2
    Banned CodeRoot's Avatar
    Join Date
    Sep 2005
    Posts
    567
    Can you post the contents of '/etc/fstab'?

  3. #3
    Just Joined!
    Join Date
    May 2006
    Location
    uk
    Posts
    16
    thanks for interest

    /etc/fstab reads

    /dev/hda5 / reiserfs acl,user_xattr 1 1
    /dev/hda6 /home reiserfs acl,user_xattr 1 2
    /dev/hda2 swap swap defaults 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs noauto 0 0
    debugfs /sys/kernel/debug debugfs noauto 0 0
    usbfs /proc/bus/usb usbfs noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0
    /dev/fd0 /media/floppy auto noauto,user,sync 0 0
    /dev/hda1 /data1 auto noauto,user 0 0
    /dev/hdc /media/dvd subfs
    noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocha rset=utf8 0 0
    clark2suse:/home /mnt/test nfs defaults 0 0

    do I edit with gedit, remove /dev/hda6 entry and add /dev/hda1 home somewhere?

    there is also /etc/fstab.YAsT2.save which looks pretty similar and reads
    /dev/hda5 / reiserfs acl,user_xattr
    1 1
    /dev/hda6 /home reiserfs acl,user_xattr
    1 2
    /dev/hda2 swap swap defaults
    0 0
    proc /proc proc defaults
    0 0
    sysfs /sys sysfs noauto
    0 0
    debugfs /sys/kernel/debug debugfs noauto
    0 0
    usbfs /proc/bus/usb usbfs noauto
    0 0
    devpts /dev/pts devpts mode=0620,gid=5
    0 0
    /dev/fd0 /media/floppy auto noauto,user,sync
    0 0
    /dev/hda1 /data1 auto noauto,user
    0 0
    /dev/hdc /media/dvd subfs
    noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocha rset=utf8 0 0



    regards

    andy

  4. $spacer_open
    $spacer_close
  5. #4
    Banned CodeRoot's Avatar
    Join Date
    Sep 2005
    Posts
    567
    Quote Originally Posted by andyfc
    I can then overcome this by typing in terminal [ mount /dev/hda1 /mnt/test ] and then relogging in as self at which point all is well.
    Make sure to get yourself to this point ("all is well"), and then perform the following and post the output:

    Code:
    more /proc/partitions
    df
    ls -l /proc/ide
    more /proc/ide/ide?/hd?/geometry

  6. #5
    Just Joined!
    Join Date
    May 2006
    Location
    uk
    Posts
    16
    thanks - output as follows

    linux-um56:~ # more /proc/partitions
    major minor #blocks name

    3 0 8257032 hda
    3 1 1662727 hda1
    3 2 1028160 hda2
    3 3 1 hda3
    3 5 5518264 hda5
    3 6 40131 hda6
    linux-um56:~ # /bin/df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/hda5 5518032 3542212 1975820 65% /
    udev 160896 132 160764 1% /dev
    /dev/hda6 40120 32840 7280 82% /home
    /dev/hda1 1662664 110712 1551952 7% /mnt/test
    linux-um56:~ # ls -l /proc/ide
    total 2
    -r--r--r-- 1 root root 0 Sep 6 21:39 drivers
    lrwxrwxrwx 1 root root 8 Sep 6 21:39 hda -> ide0/hda
    lrwxrwxrwx 1 root root 8 Sep 6 21:39 hdc -> ide1/hdc
    dr-xr-xr-x 3 root root 0 Sep 6 21:39 ide0
    dr-xr-xr-x 3 root root 0 Sep 6 21:39 ide1
    linux-um56:~ # more /proc/ide?/hd?/geometry
    /proc/ide?/hd?/geometry: No such file or directory
    linux-um56:~ # more /proc/ide/ide?/hd?/geometry
    /proc/ide/ide?/hd?/geometry: No such file or directory
    linux-um56:~ #

    andy

  7. #6
    Banned CodeRoot's Avatar
    Join Date
    Sep 2005
    Posts
    567
    Try:

    ~ edit your 'fstab' file to look like this:

    Code:
    /dev/hda5 / reiserfs acl,user_xattr 1 1
    /dev/hda1 /home auto noauto,user 1 2
    /dev/hda6 /data1 reiserfs acl,user_xattr 1 2
    /dev/hda2 swap swap defaults 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs noauto 0 0
    debugfs /sys/kernel/debug debugfs noauto 0 0
    usbfs /proc/bus/usb usbfs noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0
    /dev/fd0 /media/floppy auto noauto,user,sync 0 0
    /dev/hdc /media/dvd subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
    (For now - "just for good measure" - loose the 'clark2suse' line.)

    ~ Go ahead and reboot -- post any [relevant] errors that show up in [any of] the boot/system message/log files.

  8. #7
    Just Joined!
    Join Date
    May 2006
    Location
    uk
    Posts
    16
    success!

    didn't like it initially but once I further edited the /dev/hda1 entry to a mount point of /mnt/test rather than to /home it now boots successfully and mounts all partitions.

    many thanks for the help - I've learnt much more about fstab and about the workings of linux in the process

    andy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •