• Home
  • Help
  • Search
  • Login
  • Register
Poll
Question: su sudo does not work!
su sudo - 0 (0%)
D2plug - 0 (0%)
Total Voters: 0

Pages: [1]
Author Topic: how to enter ubuntu‘safe mode on D2PLUG  (Read 2624 times)
linxj
Newbie
*

Karma: 0
Posts: 4


View Profile
« on: February 19, 2012, 08:25:38 PM »

Su 、 sudo on my D2plug does not work 。So I have to enter the safe mode to recover it. can anyone tell me how to enter ubuntu’s safe mode .Any help will be appriated.
Logged

mentor
Jr. Member
**

Karma: 2
Posts: 67


View Profile
« Reply #1 on: February 20, 2012, 07:47:57 PM »

as I know , uboot could try to add "single" at uboot parmenter, I not give a try , if you wanted you could follow below procedure to do

for example

your u-boot like "bootarg=...root=/dev/sda1 single..." than your rootfs will has administator right

after boot up you could modify your sudor file at /etc folder to add your account and password

finish above procedure , you could back to normal boot-up( mean not used singe parameter at u-boot)
Logged

linxj
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #2 on: February 21, 2012, 02:15:08 AM »

thank you very much 。When I got a u-boot prompt on my serial console, pressed a key on consol to break auto boot sequence。I set env。。。。。
Logged

Pages: [1]
Print
Jump to: