[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gNewSense-users] accidental loss of fstab settings through attempte
From: |
Karl Goetz |
Subject: |
Re: [gNewSense-users] accidental loss of fstab settings through attempted live usb install |
Date: |
Sun, 7 Mar 2010 10:09:51 +1030 |
On Sat, 6 Mar 2010 12:22:07 -0700
Adrian van Egmond <address@hidden> wrote:
> I have been trying to install Sugar liveusb onto a usb using gnewsense
> (goal: without the help of windows)
> ADATA usb was formated with one partition ext2 from vfat (4gb) using
> gpart when going to install ISO onto usb
> Blueberry package PASS but then no success with syslinux with running
> script couldnt figure out how to start syslinux but the noticed i no
> permissions to write on usb
> so worked on that, couldnt find root command to give write permissions
> the accidently wiped-out my fstab using chmod 666 command on /dev and
> /media.
> caboom!
what
were
you
thinking!?
>
> my goal was to install a Sugar onto usb using gsense
> my new one is to take measures to restore fstab settings
This is the format of the file:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext3 errors=remount-ro 0 1
/dev/sda3 /home ext3 defaults 0 2
/dev/sda2 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
Here is how you find out what partitions you have:
$ sudo fdisk -l
[sudo] password for kgoetz:
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000b8484
Device Boot Start End Blocks Id System
/dev/sda1 1 1824 14651248+ 83 Linux
/dev/sda2 1825 2432 4883760 82 Linux
swap /Solaris
/dev/sda3 2433 24321 175823392+ 83 Linux
Here$ mounts how you find out what partitions are used for:
$ mount
( look for lines like /dev/sdx)
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
/dev/sda3 on /home type ext3 (rw)
then use this knowledge to rebuild the fstab in the format above :)
> without re-installation or switching to debian 6
Debian 6 won't exist for a while yet ...
kk
>
> advice for a newbie is most appreciated
>
> -------------------------
>
> a,
--
Karl Goetz, (Kamping_Kaiser / VK5FOSS)
Debian contributor / gNewSense Maintainer
http://www.kgoetz.id.au
No, I won't join your social networking group
signature.asc
Description: PGP signature