LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cant boot anymore (https://www.linuxquestions.org/questions/linux-newbie-8/cant-boot-anymore-923992/)

nime 01-16-2012 01:28 AM

Cant boot anymore
 
Hello,
I have dual boot system (win 7/ubuntu 11.10 64bit) with grub. When booting to ubuntu I have to press "S" (skip) four times to continue. So, I edited fstab with one program from synaptic (forget which). And after that I cant boot anymore :(
I can boot to windows but when I choose ubuntu (from grub) after one second all stops (freezes) with black screen and cursor.

Now I am booting with usb live 10.04 64bit and I have filesystems on HDD visible.
And wait for help to recover my computer if possible.

What to do?

EricTRA 01-16-2012 01:36 AM

Hi,

What did you edit? Did you comment out lines or just bluntly removed them? Can you post the contents of your /etc/fstab?

Kind regards,

Eric

fukawi1 01-16-2012 01:40 AM

Quote:

I have to press "S" (skip) four times to continue
This isn't very helpful. What were you skipping?
Quote:

So, I edited fstab with one program from synaptic (forget which
"forget which" is even less helpful than before. Was it simply a text editor? Any information to identify this could help..

That being said it sounds as though your fstab is incorrect, although there would usually be some form of error, rather than a blank screen.

Before you modified it, did you take a backup? If so, from the LiveUSB copy the backup fstab back to the original.
If you didn't back it up, you will have to reconfigure fstab manually.

nime 01-16-2012 01:54 AM

Unfortunately, I didnt take backup.

I have to press "S" for skip mounting drives which dont exists or which are not ready for mounting yet.
Thats why I am going to edit this. Now I really cant find which program was that.

My HDD partition with linux now is named "229 Gb Filesystem" where would I found fstab?

nime 01-16-2012 02:21 AM

I find fstab in /etc/ directory!

However, there was one fstab.BAK which I renamed to fstab and reboot.
So, Now I am at my old ubuntu :)
And more, I found that program (from synaptic) which I uses for edit is "mountmanager".
It seems that he make backup before writes new fstab! Luckily!

I still have one error when booting-mounting (press S) but I can live with that.
Thanks for helping!

fukawi1 01-16-2012 02:30 AM

What specifically is the error? We may be able to help with that too

nime 01-16-2012 05:17 AM

Eric mentioned that lines in fstab can be commented.
I do so for reported drives and here are no more skip warnings at startup and my fstab now looks as follows:
Code:

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
proc                                      /proc        proc  nodev,noexec,nosuid                                                      0  0 
# / was on /dev/sda7 during installation
UUID=83842b85-38c0-4682-af78-6e7884bda664  /            ext4  errors=remount-ro                                                        0  1 
# swap was on /dev/sda8 during installation
#UUID=db8e7014-aa4a-419d-a0bf-2616b3097d9f  none        swap  #sw                                                                      0  0 
#/dev/sdb1                                  /media/sdb1  vfat  #uid=root,owner,group,umask=227,gid=users,users,dmask=227,user,fmask=227  0  0 
/dev/sda3                                  /media/sda3  ntfs  defaults                                                                0  0 
/dev/sda5                                  /media/sda5  ext4  defaults                                                                0  0 
/dev/sda6                                  /media/sda6  swap  defaults                                                                0  0 
/dev/sda1                                  /media/sda1  ntfs  defaults                                                                0  0 
#/dev/sdd1                                  /media/sdd1  vfat  #defaults                                                                0  0

Fukawi, I have further errors which may be related, if those are errors either.
For example, if i plug usb stick named "Udisk" in places menu I get two new items "Udisk" and "usb0".
With activating "Udisk" nothing happens, with usb0 disk's FS opens in nautilus.
As I remember that don't work so before.

Can this be fixed?

prakharmy 08-02-2012 03:49 PM

Cant boot anymore, just edited synaptics
 
I created a file something like 10-synaptics.config in the required folder xorg....., but when i restarted to see if the touchpad scroll is working or not, it doesn't start....after the CentOS 6.3 starting screen
Plz help to figure it out!


All times are GMT -5. The time now is 05:15 PM.