Sponsored Content
Operating Systems Linux Debian Hardlink on wheezy by default for usb-stick? Post 302941400 by 1in10 on Wednesday 15th of April 2015 08:02:58 PM
Old 04-15-2015
Seems to have found an answer to my almost desperate search for the reason, it is this nasty sudo while installing a system and entering user and group. Once you made this mistake, you rather do it again and step by step or you get along with a kind of phantom sudo, even after typing

Code:
apt-get purge sudo

as root. Even in that case, have a look at the manpage of lsblk or search for more in the ubuntu-corner.



While getting along with a phantom sudo, it finds all the devices and may you would wish to have a real wide screen after typing as root the following:

Code:
su lsblk -o NAME,FSTYPE,UUID,RO,RM,SIZE,STATE,OWNER,GROUP,MODE,TYPE,MOUNTPOINT,LABEL,MODEL

Note: after tearing out sudo-package!!! And afterwards once again, have a look at the rights, whatever it may be, 40770 or 10644. I thought to put this here, not as a final conclusion, but in my case, a very old usb-drive worked well with msdos format, on squeeze and wheezy. A brand new one is unknown to my older laptop, but seen on the new system at my desk. A even newer hdd acts as well to be seen as an irritating device that quote:

Code:
mount: according to mtab, /dev/sdb1 is already mounted on /media/usb0

that command was typed as root, su.
So take care, if you a using debian wheezy or installing it and if you want to exclude sudo, do this while installing it. Otherwise you probably have a stable ubunutu bla foo do or so. But not a pure blend of debian or root, in my opinion. So if anybody can give me a better conclusion, or clues or hints, thanks in advance.


got it, almost!


Code:
%wheel ALL=(ALL) NOPASSWD: ALL

feel at home, try it and replace, if you like to, NOPASSWD with PASSWD, the mentioned code gives you su-level-1, one password for both. And here comes the link, where you may read more about it.

https://help.ubuntu.com/community/RootSudo

But my error message trying this, is the following one

Code:
syntax error, unexpected word  `('

so this may be the clue to repair it, can anyone give me a hint, please??? Thanks in advance.

Last edited by 1in10; 04-15-2015 at 10:38 PM.. Reason: one single hint only needed
 

10 More Discussions You Might Find Interesting

1. Linux

Booting Linux from an USB stick

I got Puppy linux and installed it on a usb stick. In the BIOS i selected to boot from USB-FDD but it goes to my HD and ignores the USB stick, What going on ?? (2 Replies)
Discussion started by: perleo
2 Replies

2. Linux

bootable USB Stick || Fedora 8

Hello Everybody I am planning to install Fedora core 8 on an extra PC I have; what I wanna do is to boot from a USB stick then install Fedora from an ISO image I already have via FTP. Could any one tell me how to create bootable USB Stick for Fedora as I already found how to install from FTP... (0 Replies)
Discussion started by: ahmed_nasr2001
0 Replies

3. UNIX for Dummies Questions & Answers

Aix usb stick

I have a P-Series Machine running AIX 5.3, it has a USB Port on the front of the server, can I use a USB Stick on AIX platforms?? if so how..:rolleyes: (2 Replies)
Discussion started by: BEVAN
2 Replies

4. Filesystems, Disks and Memory

Mount USB stick...

Dummies questions, perfect for this. I cannot mount my idiotic usb stick on Slackware, I input the following on non-graphic mode as root: Mount -t vfat /dev/sdc1/usbstick usbstick is the folder i created for mounting my USB, the file system is FAT, and everytime I input that I get some kind... (2 Replies)
Discussion started by: Dax01
2 Replies

5. BSD

Mounting a USB stick in FreeBSD

When mounting a USB stick or pen drive on a FreeBSD machine I always issue the following command: mount -t msdosfs /dev/da0s1 /mnt Something I have always wondered is what the option msdosfs stands for and more importantly, why it is necessary. (7 Replies)
Discussion started by: figaro
7 Replies

6. Shell Programming and Scripting

1 usb stick -> 2 mounted devices

Hello, i am using a solaris thinclient that tries to connecting to a terminalserver. (RDP) Everything works fine, but the usb redirection. If i put in a usb stick i always get 2 usb-drives mounted. If i look in /tmp/SUNWut/mnt/<name of the host> i see 2 devices. One with the name of the... (2 Replies)
Discussion started by: anarcy
2 Replies

7. Ubuntu

Ubuntu on USB stick?

Hey Guys I have an Ubuntu CD and I was thinking of creating like a bootable hard drive with various OS so that I can just boot OSs with t drive and not require the CDs. I was just wondering is there a way I can do this, like have Ubuntu boot from a USB stick? If yes how is that possible(even if I... (3 Replies)
Discussion started by: rbansal2
3 Replies

8. SCO

Mount USB stick

hi Howto mount an USB stick under SCO 5.0.7? BTW ist it possible to mount USB stick in the command line using 'tools' at the Boot: prompt from OpenServer Release 5.0.7 installation CD? (1 Reply)
Discussion started by: ccc
1 Replies

9. SCO

How to use USB Stick in UNIXware?

I am trying to use a USB (Pen?) drive on Unixware 7.1.4. The USB stick is in the machine and the machine recognises it when I enter usbprobe as follows: Path - Address Description ----------------------------- +++++++ BUS #2 0 - 1 - HUB "UHCI Root Hub" 1 - 2 - HID "Chicony Wireless Device"... (1 Reply)
Discussion started by: BernP
1 Replies

10. BSD

Bootable usb-stick, need help, sos

I would probably set all my rubber points here to get some real help for creating a boot device on a usb-stick. There is no CD-drive on this machine, thats why I need to use a usb-stick. And scrumming in a CD-drive to fuddle around in the fstab or something like that is out of reach. My wisdom so... (9 Replies)
Discussion started by: 1in10
9 Replies
GRUB-MKRESCUE(1)						   User Commands						  GRUB-MKRESCUE(1)

NAME
grub-mkrescue - make a GRUB rescue image SYNOPSIS
grub-mkrescue [OPTION] SOURCE... DESCRIPTION
Make GRUB rescue image. -h, --help print this message and exit -v, --version print the version information and exit -o, --output=FILE save output in FILE [required] --modules=MODULES pre-load specified modules MODULES --rom-directory=DIR save rom images in DIR [optional] --xorriso=FILE use FILE as xorriso [optional] --grub-mkimage=FILE use FILE as grub-mkimage --diet apply size reducing measures [optional] grub-mkrescue generates a bootable rescue image with specified source files, source directories, or mkisofs options listed by: xorriso -as mkisofs -help Option -- switches to native xorriso command mode. REPORTING BUGS
Report bugs to <bug-grub@gnu.org>. Mail xorriso support requests to <bug-xorriso@gnu.org>. SEE ALSO
grub-mkimage(1) The full documentation for grub-mkrescue is maintained as a Texinfo manual. If the info and grub-mkrescue programs are properly installed at your site, the command info grub-mkrescue should give you access to the complete manual. grub-mkrescue (GRUB) 1.99-12ubuntu5 October 2011 GRUB-MKRESCUE(1)
All times are GMT -4. The time now is 01:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy