You are not logged in.
Hey everyone! Hope everybody is enjoying these post-apocalyptic days as much as I am. So here's what my dumb a** did lol. Just got done performing a major update and started switching the .pacnew files in /etc with the old ones, well I didn't make the group.pacnew file available before I renamed the old one and now I'm locked out of su privileges and the root account. I know the password for the root account is correct because I set everything up myself but I can't login as root or even su to root. If any of you kind folks could help me out I'd appreciate it very much, thank you. I know I should look through the wiki and Googles my friend but without su privileges I'm unable to connect to the web and have to use my phone for now. Thanks again.
Last edited by I7IZI (2011-05-23 00:29:34)
Offline
Boot from a cd and chroot. There is also a backup file called /etc/group- if the original isn't available.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
You don't even have to chroot just to edit/copy a file... Just boot from a live USB stick, mount your partition and do it.
I use meld to merge .pacnew files.
Offline
Lmao! Thank you for your quick replies Well I now know how to chroot, a tool that I was unfamiliar with. But I should have spent a moment or two longer to read the wiki completely and maybe I could have avoided wiping out grub files and configurations, lol. So now I've got most the files copied back into /boot/grub but I'm still missing the menu.lst file that tells grub where to find the kernel and everything else. So is there a sample menu.lst file somewhere within the system or am I gonna have to rebuild my /boot directory in order to get this confounded contraption working again? Thanks for your help, please learn me some more today, dang noobz lol.
Offline
Here is mine, its is modified, but you can fix it:
ewaller@odin:~ 1001 %cat /boot/grub/menu.lst
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,1)
# /dev/sda3 (hd0,2)
#
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# for more details and different resolutions see
# http://wiki.archlinux.org/index.php/GRUB#Framebuffer_Resolution
# general configuration:
timeout 5
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#
# (0) Arch Linux
title Arch Linux Kernel 2.6.38.5 Vanilla Custom for HP-DVR, No Initrd
root (hd0,4)
kernel /vmlinuz26_HP_DV4 root=/dev/sda8 ro
# (1) Arch Linux
title Arch Linux Kernel
root (hd0,4)
kernel /vmlinuz26 root=/dev/disk/by-uuid/73796934-070f-4e79-a973-229432222e58 ro
initrd /kernel26.img
# (2) Arch Linux
title Arch Linux Kernel, Fallback Initrd
root (hd0,4)
kernel /vmlinuz26 root=/dev/disk/by-uuid/73796934-070f-4e79-a973-229432222e58 ro
initrd /kernel26-fallback.img
# (3) Windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
ewaller@odin:~ 1002 %
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
You don't even have to chroot just to edit/copy a file... Just ..
.. add init=/bin/bash to your kernel line..
Arch64/DWM || My Dropbox referral link
Offline
Thanks for the help guys! this ought to be straightened out sometime tonight.
Offline