Prev: useradd issue
Next: ttyUSB0 and ICS
From: Happy Oyster on 27 Sep 2009 15:07 On Sun, 27 Sep 2009 19:17:28 +0100, David Bolt <blacklist-me(a)davjam.org> wrote: >That doesn't mean you have to use it. There's fdisk, parted and the >various mkfs.* applications that can all do the same as gparted. Fine, >using the GUI is probably easier to use but that's still doesn't mean >you *have* to use the GUI as root to get the job(s) done. fdisk is best. Only, I forgot if it can change the size of a partition AND KEEP THE CONTENTS. >> That however does not mean you must log in as root. > >Exactly. Fix the broken /home file system, log in as a normal user and >then use it without being root. To mount one must have root right, isn't it? -- TINA LIVE ! TINA LIVE ! TINA LIVE ! TINA LIVE ! TINA LIVE ! TINA LIVE ! http://www.leipziger-montagsdemo.de/informationen/daten/daten_02_spd/TINA-There_Is_No_Alternative_I.jpg http://www.leipziger-montagsdemo.de/informationen/daten/daten_02_spd/TINA-There_Is_No_Alternative_II.jpg
From: Ulick Magee on 27 Sep 2009 15:14 Happy Oyster wrote: > > Acutally males are not necessary. They only are a tool to speed up evolution and > to stabilize against fast changes in environment. > .. In a world without men, who would put up shelves, deal with spiders in the bathroom, and take out the garbage...? -- Ulick Magee Free software and free formats for free information for free people. Open Office for Windows/OSX/Linux: http://www.openoffice.org OpenSUSE Linux: http://en.opensuse.org
From: David Bolt on 27 Sep 2009 15:24 On Sunday 27 Sep 2009 20:07, Happy Oyster played with alphabet spaghetti and left this residue on the plate: > On Sun, 27 Sep 2009 19:17:28 +0100, David Bolt <blacklist-me(a)davjam.org> wrote: > >>That doesn't mean you have to use it. There's fdisk, parted and the >>various mkfs.* applications that can all do the same as gparted. Fine, >>using the GUI is probably easier to use but that's still doesn't mean >>you *have* to use the GUI as root to get the job(s) done. > > fdisk is best. Only, I forgot if it can change the size of a partition AND KEEP > THE CONTENTS. If you know what you're doing, it's possible. You'd still need to adjust the size of the file system after change the partition size. >>> That however does not mean you must log in as root. >> >>Exactly. Fix the broken /home file system, log in as a normal user and >>then use it without being root. > > To mount one must have root right, isn't it? Log in as root at a console and then use fsck or whichever tool is needed to fix the file system. Once that's done, you can jump to run-level 5. If you stay at whichever run-level you're already at, close roots session and then log in as the normal user. If you're at run-level 3, use startx to get X running. After you're at your desktop, use the application. Regards, David Bolt -- Team Acorn: www.distributed.net OGR-NG @ ~100Mnodes RC5-72 @ ~1Mkeys/s openSUSE 10.3 32b | openSUSE 11.0 32b | | openSUSE 10.3 64b | openSUSE 11.0 64b | openSUSE 11.1 64b | openSUSE 11.2m6 RISC OS 3.6 | RISC OS 3.11 | openSUSE 11.1 PPC | TOS 4.02
From: Happy Oyster on 27 Sep 2009 17:17 On Sun, 27 Sep 2009 20:24:58 +0100, David Bolt <blacklist-me(a)davjam.org> wrote: >> fdisk is best. Only, I forgot if it can change the size of a partition AND KEEP >> THE CONTENTS. > >If you know what you're doing, it's possible. You'd still need to >adjust the size of the file system after change the partition size. Can't remember having seen anything about this. How can this ("adjust the size of the file system") be done? >>>> That however does not mean you must log in as root. >>> >>>Exactly. Fix the broken /home file system, log in as a normal user and >>>then use it without being root. >> >> To mount one must have root right, isn't it? > >Log in as root at a console and then use fsck or whichever tool is >needed to fix the file system. Once that's done, you can jump to >run-level 5. If you stay at whichever run-level you're already at, >close roots session and then log in as the normal user. If you're at >run-level 3, use startx to get X running. After you're at your desktop, >use the application. I would do such from a normal console (#1 to #6), so not with X. But my question aimed at the MUST to log in as root: to be able to mount a HDD or partition. -- TINA LIVE ! TINA LIVE ! TINA LIVE ! TINA LIVE ! TINA LIVE ! TINA LIVE ! http://www.leipziger-montagsdemo.de/informationen/daten/daten_02_spd/TINA-There_Is_No_Alternative_I.jpg http://www.leipziger-montagsdemo.de/informationen/daten/daten_02_spd/TINA-There_Is_No_Alternative_II.jpg
From: David Bolt on 27 Sep 2009 17:53
On Sunday 27 Sep 2009 22:17, Happy Oyster played with alphabet spaghetti and left this residue on the plate: > On Sun, 27 Sep 2009 20:24:58 +0100, David Bolt <blacklist-me(a)davjam.org> wrote: > >>> fdisk is best. Only, I forgot if it can change the size of a partition AND KEEP >>> THE CONTENTS. >> >>If you know what you're doing, it's possible. You'd still need to > > > >>adjust the size of the file system after change the partition size. > > Can't remember having seen anything about this. How can this ("adjust the size > of the file system") be done? Here's a some articles on it. http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted http://ext4.wiki.kernel.org/index.php/Frequently_Asked_Questions#How_to_online_resize_the_Ext4_filesystem.3F http://www.linux.com/archive/feature/32002 and here's a few man pages: man 8 resize_reiserfs man 8 resize2fs man 8 xfs_growfs > I would do such from a normal console (#1 to #6), so not with X. But my question > aimed at the MUST to log in as root: to be able to mount a HDD or partition. No, you do not need to be root to mount a partition or hard drive. If you aren't root, you will need to use sudo to gain root privileges. Regards, David Bolt -- Team Acorn: www.distributed.net OGR-NG @ ~100Mnodes RC5-72 @ ~1Mkeys/s openSUSE 10.3 32b | openSUSE 11.0 32b | | openSUSE 10.3 64b | openSUSE 11.0 64b | openSUSE 11.1 64b | openSUSE 11.2m6 RISC OS 3.6 | RISC OS 3.11 | openSUSE 11.1 PPC | TOS 4.02 |