You are not logged in.

#1 2013-11-06 22:52:47

Shockwave0
Member
Registered: 2013-10-22
Posts: 28

[Solved] Cant boot after editing fstab ( virtualbox )

what information do i need to post here to help, and how do i get it since i cant boot in ?

Last edited by Shockwave0 (2013-11-07 00:48:14)

Offline

#2 2013-11-06 22:59:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Cant boot after editing fstab ( virtualbox )

Do you mean you run Arch inside VB?
Are you getting any errors when you launch the virtual machine?

Offline

#3 2013-11-06 23:06:48

Shockwave0
Member
Registered: 2013-10-22
Posts: 28

Re: [Solved] Cant boot after editing fstab ( virtualbox )

yes im running arch inside virtualbox and yes i get errors
how can i copy the text out

Offline

#4 2013-11-06 23:09:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Cant boot after editing fstab ( virtualbox )

If you can't copy-paste it, at least post a screenshot.
https://wiki.archlinux.org/index.php/Fo … s_and_Code

Offline

#5 2013-11-06 23:16:17

Shockwave0
Member
Registered: 2013-10-22
Posts: 28

Re: [Solved] Cant boot after editing fstab ( virtualbox )

ienj9j.png

Offline

#6 2013-11-06 23:18:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Cant boot after editing fstab ( virtualbox )

Have yo tried Ctrl-D etc.?

Offline

#7 2013-11-06 23:21:50

Shockwave0
Member
Registered: 2013-10-22
Posts: 28

Re: [Solved] Cant boot after editing fstab ( virtualbox )

after waiting for a few minutes i have root, i put in the password
2h6ao21.png

Last edited by Shockwave0 (2013-11-06 23:22:31)

Offline

#8 2013-11-06 23:23:30

Shockwave0
Member
Registered: 2013-10-22
Posts: 28

Re: [Solved] Cant boot after editing fstab ( virtualbox )

but startx is not working and it still hangs for a few minutes
/dev/sda2 was the one i edited

Last edited by Shockwave0 (2013-11-06 23:25:27)

Offline

#9 2013-11-06 23:48:59

Shockwave0
Member
Registered: 2013-10-22
Posts: 28

Re: [Solved] Cant boot after editing fstab ( virtualbox )

i just took out the 2 lines /dev/sda2 and UUID
and that worked
but i cant mount /dev/sda2

Offline

#10 2013-11-06 23:53:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Cant boot after editing fstab ( virtualbox )

swap is being automounted by systemd now, so please comment it out.

Why can't you mount /dev/sda2. What errors are you getting?
If you commented out  /dev/sda2 in fstab, it won't get automounted, but you should be able to mount it manually.

Offline

#11 2013-11-07 00:03:40

Shockwave0
Member
Registered: 2013-10-22
Posts: 28

Re: [Solved] Cant boot after editing fstab ( virtualbox )

im using openbox i opened up /etc/fstab with leafpad heres what it looks like

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# /dev/sda1
UUID=aff5b1d2-0452-467f-81e7-dc3b2298101e	/         	ext4      	rw,relatime,data=ordered	0 1

# /dev/sda3
# UUID=1519cef9-0d8d-4ea4-b9d5-cc94b09cd59a	none      	swap      	defaults  	0 0

Last edited by Shockwave0 (2013-11-07 00:05:54)

Offline

#12 2013-11-07 00:07:49

Shockwave0
Member
Registered: 2013-10-22
Posts: 28

Re: [Solved] Cant boot after editing fstab ( virtualbox )

im using PCManFM and when i click the /dev/sda2 icon i get this
Not authorized to perform operation

Offline

#13 2013-11-07 00:09:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Cant boot after editing fstab ( virtualbox )

Can you boot now?
Can you mount /dev/sda2 using 'mount' command?

Offline

#14 2013-11-07 00:11:41

Shockwave0
Member
Registered: 2013-10-22
Posts: 28

Re: [Solved] Cant boot after editing fstab ( virtualbox )

yes i can boot im using the arch in VB now with openbox

[shockwave@ArchLinux ~]$ mount /dev/sda2
mount: can't find /dev/sda2 in /etc/fstab
[shockwave@ArchLinux ~]$ 

Offline

#15 2013-11-07 00:31:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Cant boot after editing fstab ( virtualbox )

If you don't have /dev/sda2 in your fstab anymore, you need to specify the mountpoint:

mount /dev/sda2 /mnt/backup

or something like this.

Offline

#16 2013-11-07 00:45:34

Shockwave0
Member
Registered: 2013-10-22
Posts: 28

Re: [Solved] Cant boot after editing fstab ( virtualbox )

sudo mount /dev/sda2 /mnt
this works and i see lost+found of the /dev/sda2
but i cant write or add folders to /dev/sda2
"Error creating directory: Permission denied"
and it disapears from the file manager

Last edited by Shockwave0 (2013-11-07 00:47:37)

Offline

#17 2013-11-07 00:47:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Cant boot after editing fstab ( virtualbox )

I suggest you mark this thread as solved and open another thread for any issues related to mounting this partition or your file manager misbehaving.

Offline

Board footer

Powered by FluxBB