Is it possible to access root with networking from GRUB, please?

Asked by Edmond Condillac

I'm running a program using an itterative calculation process to search for particular prime numbers. My OS is Ubuntu with Linux 3,2.0-35-generic (recovery mode). These calculations are carried out very quickly from the root choice in Recovery Menu of GNU GRUB version 1.99-21 ubuntu 3.7. But the results get lost unless there is an internet connection to the server for this Mersenne Prime Number Search project. Is there a way to use the root CLI from the GRUB choice with networking? My system reverts to remounting the '/' file system in read/write mode and mounting any other file system defined in /etc/fstab from all Recovery Menu choices except root. However, after acceping any other recovery choice the output shows: fsck from util-linux 2.20.1
and on the next line the output shows: /dev/sda1 clean files, blocks
A prompt bar keeps flashing for about an hour and this process can be stopped usung Ctlr+Alt+Del.
If a terminal is used with root status in the GUI the time per itteration in the calculation is at least 0.5 seconds and there are about half a billion itterations per nember tried.
I was thinking of switching to Windows 7 ( which is famed to be similar to Ubuntu 12.04) and using the console, if I can find out how to open it or get to starting in safe mode with command prompt amd networking.

I would be most grateful for your kind help.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

Try this

When you are in Recovery Mode with the selections list , select ROOT and then execute below commands with order

/etc/init.d/dbus start

start networking

start network-manager

Then test if Internet connection established

ping -c 3 8.8.8.8

If yes , you can mount the root with read-write access

mount -o rw,remount /

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Also try:

mount -a

And all the filesystems in fstab will be mounted

Revision history for this message
Edmond Condillac (econ22) said :
#3

Thank you for the kind advice. This did not work; with the first command:
                                                root@Dell : /# /etc/init.d/dbus.start
the output was an error that read " bash /etc/init.d/dbus start: No such file or directory.

I appreciate your kind help and would be most grateful for further instructions to resolve this problem.
Thanks again

Revision history for this message
Best N1ck 7h0m4d4k15 (nicktux) said :
#4

The command as you wrote it is wrong . There is no need for a dot between dbus and start.

I just tested this from my [Recovery Mode] and is working.

Lets try again ..

/etc/init.d/dbus start

/etc/init.d/network-manager start

Then you have to wait about 30 seconds for network-manager to establish the connection
and then give

ping -c 2 8.8.8.8

to see if connection is OK. If packages transmitted without loss.

Then use the command below to mount as Read-Write the root partition

mount -o rw,remount /

Thanks

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#5

Be careful about the spaces , the dashes , the commas , Everything matters in Linux.

If one comma missing or a dash missing the command is wrong. If one extra dot is there , the command is wrong.

Thanks

Revision history for this message
Edmond Condillac (econ22) said :
#6

Thanks NikTh, that solved my question.

Revision history for this message
Edmond Condillac (econ22) said :
#7

Thanks NikTh - your guidance and most educational advice.
Kind regards