M y head hurts, is sudo necessary just to install debian manually.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
M y head hurts, is sudo necessary just to install debian manually.
Well it's about 3 weeks now been trying to install debian 6.04 squeeze,
dd if=debian-*-netinst.iso of dev/sdb1 doesn't work no such directory, well i mentioned that simply because people keep stating it's easiest way to mount iso on usb stick with boot image.
So while that failed i searched for other alternatives but when i simply request for /dev/sdb1 or even for unmounting is denies me access. while i can use fdisk to partition usb stick but results in errors.
df -k /dev/sdb1 works fine to point.
i try to keep away from e2fsck until i have reason using it.
but this dam sudo command functions like debilitating disease, if you asked me use it simply to gain access too files then fine!
Why hell do i even need it. while im oblivious to even knowing slacko puppy's password apart from user name being "root"
But all im trying to do is squeeze debian on to my usb stick manually while ignoring bootin or pendrive. i've encountered serious issues with those while partly being blame as to why im back to drawing board.
So do i even need sudo. 4 hours ago that wasn't even on my mind until urxvt limited me access (sdb1)
a non privileged user can't write directly to a block device, so if you're not root, you need some other method to reach root level access to the stick. and sudo is one such way. Sudo is great. if you don't understand the security model, that's your problem, not the systems.
Note that this is, of course, nothing at all to do with installing debian...
Debian doesnt use 'sudo' by defualt, and its not needed. The debian standard way is to use 'su'.
I dont know why you would even try to setup sudo on debian....have you made the mistake of trying to use ubuntu commands (which does use 'sudo' by defualt) in debian?
Debian doesnt use 'sudo' by defualt, and its not needed. The debian standard way is to use 'su'.
I dont know why you would even try to setup sudo on debian....have you made the mistake of trying to use ubuntu commands (which does use 'sudo' by defualt) in debian?
Su -
Or
sudo
Makes same results. denied.
Well you explain that to people who recommend best ways installing debian. sudo this sudo that. su - this unfortunately same result unfolds.
iv'e mounted debian to 9 cds and non of them even install on installation nothing but errors, or corruptions.
puppy may have it's faults but by dam it's flawless on installation one of best distros out there sadly it's best used as back up.
do i have to wipe my operating system clean just to acces stupid usb stick sighs.
what are you trying to do? dd is a bytewise copy of a drive or partition what you're trying to do with "dd if=debian-*-netinst.iso of dev/sdb1" is unclear to me as well, but it would never work, if it says no such directory it's probably talking about the syntax if you ask me. with dd the if means input file and of output file, you're trying to copy the file probably to stdout. Try to make clear what the problem is, if I would try to answer it now I'd suggest using the right syntax for dd. The right syntax is to run "dd if=[input file] of=[output file]".
Mounting a drive is to attach the drive to your file structure so you can actually use the data on there and cd into it, the command for this is "mount /dev/sdb1 /mnt/usbdrive"
And then there is the sudo command you're trying to use... sudo stands for "super user do" in debian you should just use "su root" or "su -" or "su" which are all the same as far as I know. Give your root password and then run the command once you're logged in. sudo is just a fancy way to not use the root account for security purposes.
That isnt an install guide, and you've used the wrong command as well.
It does should how you could give us more information. Just saying 'it doesnt work' wont help, posting the outputs you get (including error msgs) might give people better chance to help you.
You do know that dding a .iso to a USB stick will just copy it there, it doesnt 'install' it at all.
Quote:
Originally Posted by scribesyd
iv'e mounted debian to 9 cds and non of them even install on installation nothing but errors, or corruptions.
Have you checked your .isos for corruption before burning them?
That isnt an install guide, and you've used the wrong command as well.
It does should how you could give us more information. Just saying 'it doesnt work' wont help, posting the outputs you get (including error msgs) might give people better chance to help you.
You do know that dding a .iso to a USB stick will just copy it there, it doesnt 'install' it at all.
Have you checked your .isos for corruption before burning them?
Well any ways they must be bad sites then.
So it seems zcat boot,img,gz > /dev/sde1 installs boot.
Oddly it works flawlessly but strangely didn't work on ubantu odd,
Now i gotta work out how to mount iso file2 usb on command???
P.s i'll stay away from sudo for now. it reminds me when i had to type my password in apache few years back. looking back then it was pain now nope
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,672
Rep:
Are you saying that you are running Puppy, logged in as root, and trying to create a Debian install on a USB stick using an ISO image and dd?
If so then this is nothing to do with Debian. You should confirm which device the USB stick is showing up as and use the command descendant_command gave you, changing /dev/sdbif necessary to whatever your USB stick is (in my case it's /dev/sdf).
Edit: just noticed craigevil's post and you could follow those instructions but just miss sudo off the beginning of each line as it is not needed if you are running as root.
I still don't get, what are you trying to achieve?
You are running Puppy, does Puppy uses sudo? Or does it have a different way to do things?
Are trying to install an Debian live in the USB stick? Or are you trying to create an CD/USB installer?
And finally why using DD to do such simple task, live is complicated enough why make it worse?
If is a live session what you want, then get it here and burn into a cd, or use Yummy(or similar tool, you can find it here) to install in your USB stick.
I still don't get, what are you trying to achieve?
You are running Puppy, does Puppy uses sudo? Or does it have a different way to do things?
Are trying to install an Debian live in the USB stick? Or are you trying to create an CD/USB installer?
And finally why using DD to do such simple task, live is complicated enough why make it worse?
If is a live session what you want, then get it here and burn into a cd, or use Yummy(or similar tool, you can find it here) to install in your USB stick.
I hope this helps.
Regards
I appreciate all the advice every one has given thanks. i prefer to do it manually then with let's say (unetbootin) or (pen drive universal installer) since i have encountered more errors written and never been successful probably compared to others.
I established connection to usb, for some reason each time i unmount device it changes it's directory sdb1, sbd1, sdc1, ect dsmg lists my usb as installed so that's fine in command.
Right now i have all files mounted on usb stick except debian 6.04 iso file since it's hybrid and designed for simplistic ease when installing from what ive heard.
For simple solution i don't wish to complicate it as im after manual install so any command would be healpful
@scribesyd If you want any of us here to help you better it is important that you explain better what it is you are trying to do.
I think it's something not too complicated. Are you trying to use the usb drive to install debian on so you can use debian with only the usb stick in the computer? Or are you trying to create a usb drive to install debian with?
We are all trying to help but it is hard to understand what you are actually trying to do.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.