• General Linux Chat and Small Questions v.2
    2,323 replies, posted
Ok, so I tried using unetbootin to install these things to my USB key, and I got [i]slightly[/i] better results. DSL, TinyCore and SliTaz all have this weird problem where it works for about 2 seconds, then freezes for 5, then works for 2 and so on, and xPud just failed to even boot. Puppy got further; it was working pretty much flawlessly, except it doesn't seem to support 1920x1080 screens and every other resolution had a weird combination of wrong aspect ratio and black bars on the sides. I'm tempted to just put Arch on there and give up with the idea of a Linux distro running from RAM, they all seem far too much effort to get working...
I can't code to save my life, but PC repair is a part of my daily life, and I'm only as good as the tools I possess. While my project is nothing too extravagant, I've been putting together an "All-in-one" multiboot USB stick for general PC repair. Most modern PCs can boot from USB, and it is alot more convenient than carrying a cakebox of CDs and DVDs, which are easily damaged, and rely on mechanical hardware. Discs also take significantly longer to boot from. This multiboot USB stick was created with YUMI, which you can download here: [b][url=http://www.pendrivelinux.com/yumi-multiboot-usb-creator/]Y.U.M.I. Multiboot USB Creator[/url][/b] I have extensively edited the menu systems to my liking, essentially re-writing most of them. All the artwork was made by me in Photoshop CS5. The modified Nyan Cat is copyright PRguitarman: [b][url]http://www.prguitarman.com/index.php?id=348[/url][/b] My current on-going project of the past month: [release][b]M[/b]ediCat [b]E[/b]mergency [b]D[/b]isk[b] S[/b]ystem Boot into Various Linux distros (I currently use Ubuntu, Xubuntu, Lubuntu, and Mint). Can boot into the Windows 7 installer Various anti-virus scanners Disc partitioning and cloning tools Hiren's Boot CD + Mini XP Ultimate Boot CD Pentesting tools for cracking and monitoring network traffic Reset and/or recover Windows user account passwords (NT/XP/Vista/7/8DP) GRUB and GRUB 2 repair PC backup and recovery Offline registry editor[/release] I have personally tested and successfully booted everything on this drive. When I am satisfied with the progress of this project, I will release this as opensource, without the distros and ISOs. It will contain only the modified menus (text files) and artwork (.PSD file). [release][b]Screenshots of Menu actions:[/b] [img]http://img215.imageshack.us/img215/527/maynmenu.jpg[/img] [img]http://img259.imageshack.us/img259/7200/antiviruse.png[/img] [img]http://img163.imageshack.us/img163/4830/systemf.png[/img] [img]http://img838.imageshack.us/img838/5914/linuxo.png[/img] [img]http://img641.imageshack.us/img641/559/grubisoboot.jpg[/img][/release]
Gentlemen\women, it seems I'm having an issue with my Linux installation. I am (was) running Ubuntu 10.10 x86_64 with pretty much vanilla setup, using the ATI proprietary drivers. It was running fine this morning, then I went onto windows 7 for a bit. When I restarted back to use linux again, it wouldn't boot. The system was locked up to such a degree that even the kernel-level keyboard shortcuts did not respond and the computer wouldn't reset when I pressed the physical reset button. After doing some fiddling in the recovery console, updating packages and trying out some commands I've reached the conclusion that my x server is fucked. Whether that's as a result of the drivers or not I'm not sure -- but when I run "vesa" drivers in xorg.conf, x starts fine but in a shit resolution; or when I use "fglrx" drivers it won't boot but hangs my system. I posted my most recent xorg log to a linux friend but he didn't seem to find anything of note in there. I'm hoping this problem will resolve itself as quickly as it developed itself, but if it doesn't, any tips?
Post your /var/log/Xorg.0.log file, then we can help you... (Also there's a troubleshooting section at [URL="https://help.ubuntu.com/community/BinaryDriverHowto/ATI"]https://help.ubuntu.com/community/BinaryDriverHowto/ATI[/URL])
[QUOTE=mechanarchy;34445578]The system was locked up to such a degree that even the kernel-level keyboard shortcuts did not respond and the computer wouldn't reset when I pressed the physical reset button.[/QUOTE] I had a similar problem, I just had to add [code]Section "ServerFlags" Option "AutoAddDevices" "false" EndSection[/code] to my /etc/X11/xorg.conf and everything started working properly again. This is what the rest of my config file looks like (Be aware that mouse and keyboard are added): [url]http://j.mp/zNa8gs[/url]
I just spent a good hour, after having installed a new xfce/gtk2 theme on my arch box, troubleshooting why I could select the theme, and it would apply it, but without any of the resources (I.E. the positioning of various buttons and windows was changed, but the theme itself was not applied) After installing and re installing various gtk engines (which I had to begin with) I for some reason opened Thunar as root, and lo and behold that window had the theme applied. I looked online and realized my themes folder might not have read permissions set to all, and after a recursive chmod it all works flawlessly. Linux and I are still on speaking terms.
I shall install Arch tomorrow (because I miss it) and dualbooting it with win7 (so I can use msOfficeAccess safely) My plans are: -Awesome as WM -Slim as login manager -base-devel packages -Everything in a minimal Arch theme -opera -nano/gedit -cli apps and mpd -sfml, so I will work on my C++ game project again -urxvt -??? Is there anything else that a programmer would need in his/her environment?
[QUOTE=ichiman94;34448593]I shall install Arch tomorrow (because I miss it) and dualbooting it with win7 (so I can use msOfficeAccess safely) My plans are: -Awesome as WM -Slim as login manager -base-devel packages -Everything in a minimal Arch theme -opera -nano/gedit -cli apps and mpd -sfml, so I will work on my C++ game project again -urxvt[b] -gdb -valgrind -boost -CMake or Boost.Build (I write project files for both) [/b]-??? Is there anything else that a programmer would need in his/her environment?[/QUOTE] Just a few suggestions. I use these everywhere.
GDB and valgrind are must-haves, CMake is questionable and rather large. [editline]29th January 2012[/editline] and you need make regardless of whether or not you want CMake (althought it might be in base-devel)
[QUOTE=ichiman94;34448593]I shall install Arch tomorrow (because I miss it) and dualbooting it with win7 (so I can use msOfficeAccess safely) My plans are: -Awesome as WM -Slim as login manager -base-devel packages -Everything in a minimal Arch theme -opera -nano/gedit -cli apps and mpd -sfml, so I will work on my C++ game project again -urxvt -??? Is there anything else that a programmer would need in his/her environment?[/QUOTE] Vim. Screw nano and gedit
gvim > * [editline]29th January 2012[/editline] also emacs is for losers
[QUOTE=ButtsexV3;34450316]gvim > * [editline]29th January 2012[/editline] also emacs is for losers[/QUOTE] Emacs is a nice OS, just lacks a decent text editor. Of course, you could run vim under it.
Any tips on CentOS 6.2? Anything goes, really.
[QUOTE=ButtsexV3;34450316]gvim > * [editline]29th January 2012[/editline] also emacs is for losers[/QUOTE] Can gwim do syntax highlighting, auto-tabbing and auto-completing even from user defined hpp files? If yes, then I will use/learn it...
[QUOTE=ichiman94;34450452]Can gwim do syntax highlighting, auto-tabbing and auto-completing even from user defined hpp files? If yes, then I will use/learn it...[/QUOTE] vim* I believe you could write a script for that. Vim has autocomplete facilities, as well as auto-indent (if that's what you mean by auto-tabbing) and syntax highlighting is obviously a function.
[QUOTE=ichiman94;34450452]Can gwim do syntax highlighting, auto-tabbing and auto-completing even from user defined hpp files? If yes, then I will use/learn it...[/QUOTE] yes yes and yes
Sorry to interrupt the plaintext editor war, but I forgot to upload a [url=i.imgur.com/JZGm7.png]picture[/url] of the theme I labored so hard to enable. Here is the [url=http://sixsixfive.deviantart.com/art/ACID-280889262]deviant art[/url] page for it if anyone else likes the looks of it.
[b]Well, it seems like my problem has been magically resolved just as quickly as it arose. I'm hoping it won't return.[/b] [QUOTE=ichiman94;34445884]Post your /var/log/Xorg.0.log file, then we can help you... (Also there's a troubleshooting section at [URL="https://help.ubuntu.com/community/BinaryDriverHowto/ATI"]https://help.ubuntu.com/community/BinaryDriverHowto/ATI[/URL])[/QUOTE] In recovery mode I used links to upload a couple of logs to a friend, but Xorg.0.log was zero bytes. Xorg.0.log.old had content but it wasn't from any point when x was crashing, it was when I'd changed the driver in xorg.conf to "vesa" manually instead of "fglrx" and ran startx in tty6 (tty7 was a blank screen). [QUOTE=Naelstrom;34446389]I had a similar problem, I just had to add [code]Section "ServerFlags" Option "AutoAddDevices" "false" EndSection[/code] to my /etc/X11/xorg.conf and everything started working properly again. This is what the rest of my config file looks like (Be aware that mouse and keyboard are added): [url]http://j.mp/zNa8gs[/url][/QUOTE] My xorg.conf is just this, which looks pretty much like a default. Given it's working now, do you still think it's worthwhile including that section? [code] Section "Screen" Identifier "Default Screen" DefaultDepth 24 EndSection Section "Module" Load "glx" EndSection Section "Device" Identifier "Default Device" Driver "fglrx" EndSection [/code]
No, it appears to be a work-around. You shouldn't include it if the problem has resolved itself.
I've recently reinstalled Arch (from Debian) and I'm having some real issues. Firstly, my / partition is being mounted read-only, causing all sorts of problems until I remount it as read-write. Secondly, my fstab file looks odd: [code]# # /etc/fstab: static file system information # # <file system> <dir> <type> <options> <dump> <pass> tmpfs /tmp tmpfs nodev,nosuid 0 0 UUID=2943ba53-bf5c-455d-aa74-00abf1811d8d / ext3 defaults 0 1 UUID=5bbfc6f8-b041-4deb-8f2a-7281d34c4fdf /home ext3 defaults 0 1 UUID=8bfbf145-e2b9-4367-90b2-62054d0dd738 /boot ext2 defaults 0 1 UUID=dc78a590-010e-4c16-ac5a-3d94aa6ec6c2 swap swap defaults 0 0[/code] And if I run "df": [code]Filesystem 1K-blocks Used Available Use% Mounted on rootfs 7566432 2254812 4927268 32% / /dev 1966340 0 1966340 0% /dev /run 1969184 240 1968944 1% /run /dev/sda3 7566432 2254812 4927268 32% / shm 1969184 0 1969184 0% /dev/shm[/code] Can anyone help? What's going on here?
Your fstab is naming them by UUIDs rather than /dev/sdxy, which is better and more secure. I do notice that your df doesn't show /home or /boot as mounted.
It's odd, this is just a standard Arch install, or so I thought. Indeed, my home isn't being mounted. My home directory shows 4.7GB being available, it should be 300. Output of fdisk -l: [code]Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00022674 Device Boot Start End Blocks Id System /dev/sda1 * 63 208844 104391 83 Linux Partition 1 does not start on physical sector boundary. /dev/sda2 208845 738989 265072+ 82 Linux swap / Solaris Partition 2 does not start on physical sector boundary. /dev/sda3 738990 16113194 7687102+ 83 Linux Partition 3 does not start on physical sector boundary. /dev/sda4 16113195 625137344 304512075 83 Linux Partition 4 does not start on physical sector boundary.[/code]
what's a nice stable distro that I can dual-boot with Arch? I need something that will always work. Maybe not as stable as Debian, but something that will hold up that I can use for general work/browsing that I won't have to fuck around with. I'll keep Arch for experimentation.
[QUOTE=LieutenantLeo;34466752]what's a nice stable distro that I can dual-boot with Arch? I need something that will always work. Maybe not as stable as Debian, but something that will hold up that I can use for general work/browsing that I won't have to fuck around with. I'll keep Arch for experimentation.[/QUOTE] debian testing
-snip- ok i'll get that
[QUOTE=nos217;34455835]I've recently reinstalled Arch (from Debian) and I'm having some real issues. Firstly, my / partition is being mounted read-only, causing all sorts of problems until I remount it as read-write. Secondly, my fstab file looks odd: [code]# # /etc/fstab: static file system information # # <file system> <dir> <type> <options> <dump> <pass> tmpfs /tmp tmpfs nodev,nosuid 0 0 UUID=2943ba53-bf5c-455d-aa74-00abf1811d8d / ext3 defaults 0 1 UUID=5bbfc6f8-b041-4deb-8f2a-7281d34c4fdf /home ext3 defaults 0 1 UUID=8bfbf145-e2b9-4367-90b2-62054d0dd738 /boot ext2 defaults 0 1 UUID=dc78a590-010e-4c16-ac5a-3d94aa6ec6c2 swap swap defaults 0 0[/code] And if I run "df": [code]Filesystem 1K-blocks Used Available Use% Mounted on rootfs 7566432 2254812 4927268 32% / /dev 1966340 0 1966340 0% /dev /run 1969184 240 1968944 1% /run /dev/sda3 7566432 2254812 4927268 32% / shm 1969184 0 1969184 0% /dev/shm[/code] Can anyone help? What's going on here?[/QUOTE] Every partition has a [B]U[/B]nique [B]U[/B]niversal [B]ID[/B] which never changes, whereas their /dev/sdxx designation can change spontaneously, or when you put a new hard drive in. This is less easy to use I suppose but more robust and less likely to fail. Go to /dev/disk/by-uuid and do an ls -l to find your disks' UUIDs. Since they can be long as fuck I prefer to: [code]stephen@fpc /dev/disk/by-uuid $ sudo -s [sudo] password for stephen: fpc by-uuid # cd /dev/disk/by-uuid fpc by-uuid # ls -l total 0 lrwxrwxrwx 1 root root 10 2012-01-29 12:05 2A0894200893E8D9 -> ../../sda1 lrwxrwxrwx 1 root root 10 2012-01-29 12:05 2AE827BBE82783E3 -> ../../sda2 lrwxrwxrwx 1 root root 10 2012-01-29 12:05 2cefad83-796b-4179-b511-c2ed88f793a6 -> ../../sda6 lrwxrwxrwx 1 root root 10 2012-01-29 12:05 3065a00f-a6f3-4883-aede-b004752da363 -> ../../sda5 lrwxrwxrwx 1 root root 10 2012-01-29 12:05 e2b85109-8b33-41e5-86d4-e9d2e3c54981 -> ../../sda7 fpc by-uuid # ls 2cef* >> /etc/fstab fpc by-uuid # [/code] That'll paste the UUID of the drive I selected into the end of my fstab. Then I can move it around in GNU Nano.
[QUOTE=ichiman94;34448593]I shall install Arch tomorrow (because I miss it) and dualbooting it with win7 (so I can use msOfficeAccess safely) My plans are: -Awesome as WM -Slim as login manager -base-devel packages -Everything in a minimal Arch theme -opera -nano/gedit -cli apps and mpd -sfml, so I will work on my C++ game project again -urxvt -??? Is there anything else that a programmer would need in his/her environment?[/QUOTE] I just found out about [URL="https://aur.archlinux.org/packages.php?ID=30042"]cairo-compmgr[/URL]. Same functionality as xcompmgr but it works better with awesome and has even more eye candy options. [editline]30th January 2012[/editline] [QUOTE=LieutenantLeo;34466752]what's a nice stable distro that I can dual-boot with Arch? I need something that will always work. Maybe not as stable as Debian, but something that will hold up that I can use for general work/browsing that I won't have to fuck around with. I'll keep Arch for experimentation.[/QUOTE] Arch is perfectly stable so long as you avoid pacman -Syu when you have something important to do on your computer. I've never had stability problems with Arch, only upgrading difficulties (and even then never anything system-breaking).
I'm playing with TinyCore. It's a fun little distro to play with.
[QUOTE=Lyoko774;34471934]I'm playing with TinyCore. It's a fun little distro to play with.[/QUOTE] My dad has that. It boots in like 5 seconds. Other than that, I just installed Linux Mint 12. Sooooo nice.
[QUOTE=ZenX2;34472590]My dad has that. It boots in like 5 seconds. Other than that, I just installed Linux Mint 12. Sooooo nice.[/QUOTE] It's even better when you install Cinnamon, and remove Gnome 3 and Mate. :)
Sorry, you need to Log In to post a reply to this thread.