| Author | Topic: (SOLVED) root passord on live cd? (Read 668 times) |
xdunlapx Guest
|  | (SOLVED) root passord on live cd? « Thread Started on May 14, 2012, 10:52pm » | |
I'm trying to install SalineOS but it requres the root password and that info is not in the installation guide. Can someone provide it to me?
| |
|
Richard Elder Member
     member is offline
![[avatar] [avatar]](http://dl.dropbox.com/u/10332409/bender.gif)
Joined: Jan 2011 Gender: Male  Posts: 586 Location: Venezuela
|  | Re: root passord on live cd? « Reply #1 on May 14, 2012, 11:27pm » | |
The LiveCD runs as root. I just used the v1.6 CD this evening to run the Grub-Doctor.
Which version of SalineOS are you running? Are you running it from a USB or a DVD?
|
SalineOS-1.7, Xfce4.6.2, w/ 3.2.0-0.bpo.4-686-pae; SalineOS-2.0, Xfce4.8, w/ 3.2.0-4-686-pae Fedora-18, Xfce4.10, w/ 3.8.x
|
|
xdunlapx Guest
|  | Re: root passord on live cd? « Reply #2 on May 15, 2012, 6:44am » | |
I was using it via USB. I was able to hit cancel a few times and it then proceeded to install it. But now that it's installed I can't install apps via CLI. It says I'm not in the sudoers file and I can't add myself to the sudoers file because I don't have the root password. I'm using 1.6.
| |
|
Richard Elder Member
     member is offline
![[avatar] [avatar]](http://dl.dropbox.com/u/10332409/bender.gif)
Joined: Jan 2011 Gender: Male  Posts: 586 Location: Venezuela
|  | Re: root passord on live cd? « Reply #3 on May 15, 2012, 7:43am » | |
Debian does not activate sudo; they use su instead. $ su - or $ su -l will get you a root shell.
Sounds as if you are installing on a netbook, without a CD. Try this: http://salinelinux.proboards.com/index.c....splay&thread=29
My favorite is dd, quoted from Anthony in the above link:
You can also create a USB key manually using the command line on any Linux based system. With the following command:
dd if=nameoftheimage.iso of=/dev/sdX
X will be your USB key which will be b,c or d depending on how many drives you have installed on your system. You will need to replace nameoftheimage.iso with the exact name of the ISO image. Running the command cat /proc/partitions will show you a list of partitions and devices just look for the device with the size of your USB key.
Remember that dd will overwrite everything on the USB but it will then function exactly like the CD, which means it will boot up as root for the install or recovery.
|
SalineOS-1.7, Xfce4.6.2, w/ 3.2.0-0.bpo.4-686-pae; SalineOS-2.0, Xfce4.8, w/ 3.2.0-4-686-pae Fedora-18, Xfce4.10, w/ 3.8.x
|
|
xdunlapx Guest
|  | Re: root passord on live cd? « Reply #4 on May 15, 2012, 10:51am » | |
No I don't have a netbook, I have a laptop but I didn't feel like burning yet another CD/DVD so i just used my flash drive. Plus the live environment is much faster from the flash drive than a CD/DVD.
su - doesn't work, but su -| kinda works but when I do a command that requres authentication it tells me my password is incorrect.
| |
|
Richard Elder Member
     member is offline
![[avatar] [avatar]](http://dl.dropbox.com/u/10332409/bender.gif)
Joined: Jan 2011 Gender: Male  Posts: 586 Location: Venezuela
|  | Re: root passord on live cd? « Reply #5 on May 15, 2012, 1:15pm » | |
OK, just booted up the SalineOS-1.6 DVD, running right now.
To install, from the menu: Applications > System > SalineOS-Installer
There are two ways to get to root from the LiveCD: 1- in a terminal: $ sudo su
2- and from the menu: Applications > Accessories > Root Terminal
|
SalineOS-1.7, Xfce4.6.2, w/ 3.2.0-0.bpo.4-686-pae; SalineOS-2.0, Xfce4.8, w/ 3.2.0-4-686-pae Fedora-18, Xfce4.10, w/ 3.8.x
|
|
Richard Elder Member
     member is offline
![[avatar] [avatar]](http://dl.dropbox.com/u/10332409/bender.gif)
Joined: Jan 2011 Gender: Male  Posts: 586 Location: Venezuela
|  | Re: root passord on live cd? « Reply #6 on May 15, 2012, 1:32pm » | |
If you do not create your USB with one of the methods indicated here: http://salinelinux.proboards.com/index.c....splay&thread=29 the USB will not run as a CD/DVD and the installer will fail.
These methods will work, if run as indicated, and you avoid burning a DVD just for an install.
Another method that works for USB is as follows: 1. Create either a USB as per instructions, or burn a DVD. 2. Boot from the USB or DVD 3. Install to a second USB; determine the device in a root terminal with blkid. 4. Write the grub to the second USB when asked for the location or do not install grub. When completed, use Application > System > Grub-Doctor to write grub to the second USB device.
Hope this helps.
|
SalineOS-1.7, Xfce4.6.2, w/ 3.2.0-0.bpo.4-686-pae; SalineOS-2.0, Xfce4.8, w/ 3.2.0-4-686-pae Fedora-18, Xfce4.10, w/ 3.8.x
|
|
xdunlapx Guest
|  | Re: root passord on live cd? « Reply #7 on May 15, 2012, 4:52pm » | |
Ok everyone. I found out what I did. I thought (because I don't read things carefully sometimes) that it was asking for the root password on install. SO I typed what i thought it was a few different times (different passwords) and then ended up hitting cancel on both of the password prompts. SO I evidently created a system without a root password. So since it was null I couldn't install programs.
I just reinstalled from my usb flash drive. Oh and yes I did use those instructions to install the iso to my flash drive. I can now use su but I'll have to add myself to the sudoers file since I'm used to using sudo.
Sorry for the confusion everyone. My fault. Now if I could just get my printer working...
| |
|
Richard Elder Member
     member is offline
![[avatar] [avatar]](http://dl.dropbox.com/u/10332409/bender.gif)
Joined: Jan 2011 Gender: Male  Posts: 586 Location: Venezuela
|  | Re: (SOLVED) root passord on live cd? « Reply #8 on May 15, 2012, 4:57pm » | |
Great. Start a new topic for the printer
|
SalineOS-1.7, Xfce4.6.2, w/ 3.2.0-0.bpo.4-686-pae; SalineOS-2.0, Xfce4.8, w/ 3.2.0-4-686-pae Fedora-18, Xfce4.10, w/ 3.8.x
|
|
ray New Member
 member is offline
Joined: Jan 2012 Gender: Male  Posts: 34
|  | Re: (SOLVED) root passord on live cd? « Reply #9 on May 16, 2012, 2:45am » | |
I wonder why people don't use DVD/CD RW disks for their isos.
Ray
| |
|
Richard Elder Member
     member is offline
![[avatar] [avatar]](http://dl.dropbox.com/u/10332409/bender.gif)
Joined: Jan 2011 Gender: Male  Posts: 586 Location: Venezuela
|  | Re: (SOLVED) root passord on live cd? « Reply #10 on May 16, 2012, 9:32am » | |
Haven't tried them lately, but used to have mixed results. It is a good suggestion, though. Should be handy for a quick look at a new release.
|
SalineOS-1.7, Xfce4.6.2, w/ 3.2.0-0.bpo.4-686-pae; SalineOS-2.0, Xfce4.8, w/ 3.2.0-4-686-pae Fedora-18, Xfce4.10, w/ 3.8.x
|
|
keith New Member
 member is offline
Joined: May 2012 Gender: Male  Posts: 6
|  | Re: (SOLVED) root passord on live cd? « Reply #11 on Aug 18, 2012, 10:35am » | |
May 16, 2012, 2:45am, ray wrote:I wonder why people don't use DVD/CD RW disks for their isos.
Ray |
|
Probably, like me, they prefer a nice quiet system.
| |
|
beardedragon Global Moderator
     member is offline
![[avatar] [avatar]](http://smile-media-production-1.s3.amazonaws.com/images/83a50d70550b01307b5322000afe0a5a/168x168.jpg)
Joined: Feb 2011 Gender: Male  Posts: 857
|  | Re: (SOLVED) root passord on live cd? « Reply #12 on Aug 18, 2012, 4:11pm » | |
May 16, 2012, 2:45am, ray wrote:I wonder why people don't use DVD/CD RW disks for their isos.
Ray |
|
I do use them for live disks. I save .iso to my backup drive and burn to DVD-RW with each upgrade. Never had one fail on me, yet.
|
Robert Collard, Madison, WI HP s5710f, 2x AMD Athlon II 260@3.2Ghz 3GB RAM, 640GB HD Debian 7.0 XFCE-4.10 3.2.0-4-amd64
If you are satisfied with the results, please Edit your first post and add [Solved] to the Subject line. |
| |
|