Broken boot [solved]

Hell there, Paul here.
I'm pretty new, and new to this forum so hey xD
I had a perfect running system with everything set how I wanted, so I don't really want to reinstall this time.
So there are various files that I messed up, I can't remember them fully but mkinitcpio.conf, rc.sysinit and innittab I remember.  It's not like I could repair them, I changed them tooo much. I tried replacing them with the backups but the backups were the same for some reason?
So my issue here is, I need to get original, or working ones and replace them which I can do from a live disk.
Then I don't know what it's called but the command mkinitcpio -p kernel26 it.
I've found out that you can chroot to my environment from the live disk, If I don't have that I know how to get it.
My problem then is how to get work configuration files for my system, and if I've made any mistakes in the above xD
Thanks so much!
Last edited by Mount56 (2010-07-11 16:22:07)

Just had a great idea!
I install arch again on another partition, that should get me the files I need
I'll try that and report back how it goes.

Similar Messages

  • Self-compiled kernel wont boot [solved]

    Hey, I compiled a kernel yesterday using the PKGBUILD from http://wiki.archlinux.org/index.php/Ker … n_with_ABS
    All went fine, i made a init thing with mkinitcpio -g /boot/mykernel.img -k 2.6.18.1-mykernel and it went fine, i added it to menu.lst (grub) and rebooted,
    at first it says it can't parse block device name for '/dev/sda6' (wich is my root partition) then i added rootfstype=ext3/ext2 (I tried both since i know i have one of them but cfdisk shows amoeba =/ )
    but i still get the error 'cannot open root device dev(0,0)' (and also 'kinit: init not found') and then a kernel panic.
    This is the boot part of menu.lst for the kernel
    title [Arch mykernel]
    root (hd0,0)
    kernel /vmlinuz-2.6.18.1-mykernel root=/dev/sda6 rootfstype=ext3 ro
    initrd /mykernel.img
    and this is the hook line from mkinitcpio.conf (all other lines where either comments or ="" so i decided to exclude them).
    HOOKS="base udev autodetect usb ide scsi sata filesystems"
    also, i have some trouble with ata2.01 "qc timeout (cmd 0xa1)" something, is there a way to save the output of a boot?
    --SOLVED--
    I forgot -ARCH in the mkinitcpio -k argument.

    tomk wrote:
    firedance wrote:I do feel as you are treating me like i would treat an idiot  :?
    Perhaps somebody else should help you, in that case.
    I answered you original post with the understanding that you had chosen to use mkinitcpio, and were therefore familiar with the way it worked. Your follow-up suggested that this might not be the case, so I clarified my original answer.
    firedance wrote:I'm not sure if that's so smart tho if i load a module thats also in the kernel
    Given your previous reaction, I won't comment on whether it's smart or not - I will simply say that it won't work.
    firedance wrote:when i used the right parameter it started complaining about missing modules.
    Which missing modules did it complain about?
    As topic states this is solved, it complained about usb-storage (wich i had compiled into the kernel) It didn't complain about ext2 since i had allready been messing around with the kernel and recompiled it with ext2 as a module. It did work to just do make modules and make modules_install for the usb-storage. But then again, maybe i was very lucky and accedently made it a module on the same time as making ext2 a module 
    I will recompile the kernel tonight so i am sure it is with ext2 and usb-storage only as modules.

  • Systemd.timesyncd fails on boot [Solved]

    Upgraded systemd to 217-1 and now each boot sees timesyncd fail:
    ● systemd-timesyncd.service - Network Time Synchronization
    Loaded: loaded (/usr/lib/systemd/system/systemd-timesyncd.service; enabled)
    Active: failed (Result: start-limit) since Fri 2014-10-31 10:25:59 NZDT; 5min ago
    Docs: man:systemd-timesyncd.service(8)
    Process: 303 ExecStart=/usr/lib/systemd/systemd-timesyncd (code=exited, status=1/FAILURE)
    Main PID: 303 (code=exited, status=1/FAILURE)
    Status: "Shutting down..."
    Oct 31 10:25:59 Shiv systemd[1]: Failed to start Network Time Synchronization.
    Oct 31 10:25:59 Shiv systemd[1]: Unit systemd-timesyncd.service entered failed state.
    Oct 31 10:25:59 Shiv systemd[1]: systemd-timesyncd.service failed.
    Oct 31 10:25:59 Shiv systemd[1]: start request repeated too quickly for systemd-timesyncd.service
    Oct 31 10:25:59 Shiv systemd[1]: Failed to start Network Time Synchronization.
    Oct 31 10:25:59 Shiv systemd[1]: Unit systemd-timesyncd.service entered failed state.
    Oct 31 10:25:59 Shiv systemd[1]: systemd-timesyncd.service failed.
    Once I log in, I am able to restart the service without any complaint.
    Anyone else seeing this?
    # edit: perhaps related to this fixed(?) bug: http://lists.freedesktop.org/archives/s … 03199.html

    tl;dr answer:
    # sed -i 's/ remote-fs.target$//' /usr/lib/systemd/system/systemd-journal-flush.service
    Long answer:
    In systemd 217 a few changes were made with regard to ordering of early boot units, resulting in certain setups which used to work with systemd 216 to make problems with systemd 217. The fix above was also applied in systemd upstream by this commit:
    commit 919699ec301ea507edce4a619141ed22e789ac0d
    Author: Lennart Poettering <[email protected]>
    Date: Fri Oct 31 16:22:36 2014 +0100
    units: don't order journal flushing afte remote-fs.target
    Instead, only depend on the actual file systems we need.
    This should solve dep loops on setups where remote-fs.target is moved
    into late boot.
    For example, in my case, connman.service explicitly requests to be ordered before remote-fs.target, leading to all kinds of fun:
    systemd[1]: Found ordering cycle on basic.target/start
    systemd[1]: Found dependency on sysinit.target/start
    systemd[1]: Found dependency on systemd-tmpfiles-setup.service/start
    systemd[1]: Found dependency on systemd-journal-flush.service/start
    systemd[1]: Found dependency on remote-fs.target/start
    systemd[1]: Found dependency on connman.service/start
    systemd[1]: Found dependency on basic.target/start
    systemd[1]: Breaking ordering cycle by deleting job systemd-tmpfiles-setup.service/start
    systemd-timesyncd[201]: Failed to allocate manager: No such file or directory
    systemd[1]: systemd-timesyncd.service: main process exited, code=exited, status=1/FAILURE
    systemd[1]: Failed to start Network Time Synchronization.
    systemd[1]: Unit systemd-timesyncd.service entered failed state.
    systemd[1]: systemd-timesyncd.service failed.
    Explanation:
    systemd-journal-flush.service wants to be ordered after remote-fs.target whereas connman.service wants to be ordered before remote-fs.target. Additionally, connman.service requires basic.target. (This is implicit behavior for units which don't declare "DefaultDependencies=no".) This is why basic.target ends up getting pulled in so early in the first place.
    Furthermore, systemd-timesyncd.service relies on properly initialized runtime directories in order to work, so it wants to be ordered after systemd-tmpfiles-setup.service.
    In order to be able to start basic.target, systemd breaks the ordering cycle by taking systemd-tmpfiles-setup.service out of the transaction, thereby preventing systemd-timesyncd.service from starting up correctly.
    Last edited by csn (2014-11-01 22:18:37)

  • Chroot broken? [solved]

    I am not sure if this is something that I have done or if this is something that have happened after a pacman -Suy . One guess is that this happened after an update of the system since it doesn't work on my user-mode linux ether and that system was created recently (5 hours ago) through bootstraping. Problem is that I don't know if chroot can work inside UML and if it can't then it seems more likely that I personally have somehow broken chroot.
    My question is if there are others that have problems with chroot, because it seems a bit stupid to fill a bug report if this problem only exist on my system. 
    # chroot /mnt /bin/bash
    chroot: cannot run command `/bin/bash': No such file or directory
    <edit>
    I forgot to mention that I do have bash and it is in /bin
    </edit>

    LB06 wrote:Do you have /mnt/bin/bash?
    Doesn't entirely solve the problem, but it's in the right direction. I had to add some more files and I don't know which where needed since I solved it with  mount --bind . But somehow I remeber doing a chroot in the past without having /whereever/bin/bash . If I remeber correctly I could chroot into an empty directory, not much to do there but at least it was possible. But this could be something that I am remebering incorrectly. At least the problem is solved and thanks for the help.
    <edit>
    I had to check some old manuals and it didn't contain a chroot into an empty directory. I guess my memories are playing with me.
    At least the problem is solved, thanks again. I am going to mark this thread as solved.
    </edit>

  • Sempahore broken? [solved]

    My imagemagick (or semaphores?) seems broken...
    [root@one ~]# convert -version
    Version: ImageMagick 6.5.7-5 2009-11-08 Q16 http://www.imagemagick.org
    Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
    Features: OpenMP
    convert: magick/semaphore.c:220: DestroySemaphoreInfo: Assertion `(*semaphore_info) != (SemaphoreInfo *) ((void *)0)' failed.
    Aborted
    I have tried pacman -Rd imagemagic and pacman -Syu - I'm now running out of ideas, Can anyone tell me what might be causing this on a fairly new (i.e: only just installed last week) system?
    Many thanks,
    Richard.
    Last edited by r_j_h (2010-03-06 19:05:27)

    (Solved)
    I'm running as root; because I build the system to my liking then create a user for normal use. I was investigating why convert -version was crashing dvdrip.
    I noticed a version difference between this and my laptop; even though both were fully up to date. After checking and tweaking /etc/pacman.d/mirrorlist it appears that a mirror (probably ftp://mirrors.uk2.net/pub/archlinux/$repo/os/i686??) was quite out of date. Re-running pacman -Syu suddenly requested ~300MB of updates. One of these must have done the trick.
    Seems odd that an official mirror should be so far out of sync - but I'm glad I managed to solve it.
    Thanks anyway.

  • Kernel upgrade yesterday led to panic on boot [SOLVED]

    Hello all,
    I think I screwed my machine up badly.  I've searched the forums and wiki for a couple hours and don't see a fix, so I thought I'd ask before blowing away my system and reinstalling from scratch.
    Here is what happened.  I tried a pacman -Syu for the first time in a month or so.  I got lots of file conflict errors.  Some searching on the forums suggested that was because I had an old version of xorg, so I removed my xorg and installed 7.0.  After that my XFCE wouldn't work due to an error about the nv module being missing.  So I tried to reinstall the nvidia-legacy package.  That also failed with errors saying my kernel was compied with a different version of gcc than the nvidia package was.  So I tried to upgrade the kernel with pacman -Sy kernel26.  Normally I have that on my ignorepkg list so I was at 2.6.11 or something around there a few revs back. 
    Now I can't boot.  I get a panic saying it can't find discs/disc0/part3.  I can boot off my (old 0.6) arch install CD, then do mount /dev/discs/disc0/part3 /mnt and chroot /mnt and it works so at least I can work on it in its crippled state a bit.
    The one clue I did find was to add initrd to my lilo.conf, but I did that and try to run /sbin/lilo and I get an error from that as well.   :cry:   
    Is this because I needed to switch to udev before upgrading the kernel to 2.6.15?  That was my guess but I haven't found any confirmation info on that.  If that isn't it, do you know what could be causing my problem?  And whatever the cause, is there a way to get my system back or should I give up and reinstall.
    Thanks in advance for any suggestions,
    Ralph

    Ok, I got it fixed.  I made the changes in the devfs to udev wiki page, but it was still broken.  I was booting off the install cd, mounting my / to /mnt, then doing chroot /mnt.  I fixed /boot/grub/menu.lst as part of the changes to go to udev, but it still wouldn't boot right.  I finally figured out that my /boot partition is separate, so I had to mount /boot up and change menu.lst there.  After I did that it booted ok.

  • Copied my Arch root partition to a new one but I can't boot [SOLVED]

    I booted to my arch live cd and copied my Arch / partition (/dev/sda1) to an empty partition (/dev/sda9) via a cp -a command.  The new partition should now contains an exact copy of my old root partition.  I also modified the /etc/fstab in the new partition to reflect the new block device for the root filesystem.  I also added a line to my menu.lst to boot it.  I didn't do something right because I get a kernel panic when grub boots into the new partition.
    menu.lst entry:
    title Arch Testing
    root (hd0,8)
    kernel /boot/vmlinuz26 root=/dev/sda9 ro quiet vga=773 acpi_enforce_resources=lax vga=773
    initrd /boot/kernel26.img
    Ideas?
    EDIT: Just read this wiki page
    The fix as root:
    mount /dev/sda9 /mnt
    cd /mnt/dev
    rm console ; mknod -m 600 console c 5 1
    rm null ; mknod -m 666 null c 1 3
    rm zero ; mknod -m 666 zero c 1 5
    mount -o bind /dev /mnt/dev
    mount -t proc none /mnt/proc
    mount -o bind /sys /mnt/sys
    cd /
    chroot /mnt /bin/bash
    mkinitcpio -p kernel26
    Last edited by graysky (2009-12-05 15:14:01)

    Since you can't delete Apple IDs and having multiple Apple IDs can cause confusion, what you may want to do is rename your existing Apple ID to the new email (desired Apple ID).  That would in effect do what you want, get rid of the old and give you the new.
    See "Apple ID: Changing your Apple ID"
    ivan

  • Disk2vhd efi vhdx vm fails to boot (solved)

    Edit:  I was able to work around this.  From what I've read, a bare metal restore from a physical to virtual machine is not supported, but that's what I tried and it worked beautifully.  The only thing that went right today.
    So, disk2vhd isn't needed (and as we've seen, didn't work).  Instead I took these steps:
    1. Control Panel -> File History.  After it finishes searching for drives, at the bottom left of the page is a link to System Image Backup.  Run it, and select a target drive for the backup.  I used a 64Gb key drive.  Next, it will
    show you the volumes that will be backed up.  It automatically selects (and you cannot deselect) the volumes required for a bare metal restore.  Any additional volumes are optional.  You'll probably want to deselect the target drive for the
    backup.
    2. After the backup is complete, either move the drive over to the Hyper-V host or access it over the network.
    3. In Hyper-V Manager, create a VHDX virtual disk from the backup drive.  Then create a blank VHDX that is at least the size of the original machine's system disk (which may have multiple volumes).  In my case, this was a 2Tb disk, to which I added
    an extra 128Gb just to be sure.  This isn't the size of the image backup, it's the size of the disk from which the image backup was taken.  I made my disks fixed size.  I don't know if it would work otherwise.
    4. Create a Gen 2 virtual machine (this was necessary for me since my original machine used EFI boot).  On the SCSI host adapter, attach the blank disk that will take the image restore, and attach a second disk containing the image backup (this can
    be deleted later). 
    5. Create a second SCSI host adapter and attach a DVD drive to it (also may be deleted later).  Not sure if you really need the second adapter but I was just being cautious.  Assign the ISO image for your original machine's install disc (Windows
    8.1 Pro Update 1, in my case) to the DVD.  Set the DVD to boot.
    6. Run the VM and press a key when prompted to run from the DVD.  Select the Repair option, and drill down until you get to a page with the option for a System Image Restore.  Click on that and then select the drive containing your backup when
    prompted.  It will inform you that drive C: (your blank drive) will be wiped out and resized to match the original system drive that was backed up.  Then let it run.  In my case it took maybe three or four minutes, but it was a very sparsely
    populated 2Tb drive.
    7. After the restore completes, you should be good to go.  After testing the new VM, I deleted the second SCSI disk with the backup image, as well as the DVD and its host adapter.
    =================================================
    I ran disk2vhd on a recently built Windows 8.1 x64 machine.  The conversion completed successfully, but I'm having no luck finding the right recipe to booting it in Hyper-V on a Server 2012 R2 machine.  I've tried both Gen 1 and Gen 2 (with and
    without Secure Boot enabled).  In both cases it apparently fails to find a boot loader.  The virtual disk is VHDX.
    I ran disk2vhd twice.  Once including the additional volumes Windows creates for EFI, and once without.  The result is the same either way.
    Any help much appreciated.

    Hi Michael,
    Thanks for your sharing .
    I am afraid the physical host is using UEFI .(I test disk2vhd on MBR partition ,it works )
    EDIT:
    Here is another similar thread :
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/9a668872-0f58-4da3-a407-2f2018d42b50/windows-server-2012-r2-datacenter-how-to-create-hyperv-which-will-be-the-replica-of-host-os?forum=winserverhyperv
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Filesystem read only at boot "SOLVED"

    Hi archers
    I have a frustrating problem.... for some unknown reason... I rebooted today, and havn't been able
    to get back into arch....
    it complains that my filesystem is read only etc. heres the error
    ******************* FILESYSTEM CHECK FAILED *************
    * Please repair manually and reboot. Note that the root *
    * filesystem is currently mounted read-only. To remount *
    * it read-write type: mount -n -o remount,rw /          *
    * When you exit the mantenance shel the system will     *
    * reboot automatically.                             
    i've tried what it suggests "mount -n -o remount,rw /
    i reboot, and still get the same problem over and over again.
    I don't know what could of caused this.... i havn't been messing with anything unusual....
    I better output my fstab and partitions:
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0007f78b
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1          13      104422   83  Linux
    /dev/sda2              14          46      265072+  82  Linux swap / Solaris
    /dev/sda3              47        1003     7687102+  83  Linux
    /dev/sda4            1004       19457   148231755   83  Linux
    Fstab:
    # /etc/fstab: static file system information
    # <file system>        <dir>         <type>    <options>          <dump> <pass>
    none                   /dev/pts      devpts    defaults            0      0
    none                   /dev/shm      tmpfs     defaults            0      0
    #/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
    #/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
    #/dev/fd0               /media/fl   auto    user,noauto             0      0
    /dev/sda1 /boot ext2 defaults 0 1
    /dev/sda2 swap swap defaults 0 0
    /dev/sda3 / ext4 defaults 0 1
    /dev/sda4 /home ext4 defaults 0 1
    Pleaasseeee Help
    I'm using a live cd to access the internet right now
    thanx in advance
    any ideas?
    thankyou
    Last edited by kaddy (2009-10-18 13:38:16)

    Few days, or maybe a week ago, when i was trying to get X to work, i always had to use the computer's reset button because the keyboard would be irresponsive. Normally Arch would fix itself and re-reboot, but eventually it broke because of whatever reason. I thought of wiping the partition and reinstalling Arch from scratch as i didn't have many things on it anyway, but guess what, GParted could fix the filesystem.
    (By the way, in case you're curious, the reason X wasn't working properly was that i had no keyboard or mouse drivers installed.)
    If you have another Linux on your PC, or a Live CD, or even an installation CD, see if it has a disk-partitioning tool that has an option to fix filesystems. If it doesn't, but if the Linux you use is installed on your PC, just install GParted. But if you're using an installation- or Live CD, you can't do that, and in that case i think you'll have to get another Linux; i would say download Puppy Linux and make a Live CD of that; it has GParted and is friendly for newcomers in every other way too. And you can be sure that having a Live CD lying around is always something good. You never know when something like this will happen again.
    (Oh, i just realized that you already ARE using a Live CD... Keep installation CDs, and Puppy Linux, in mind though.)
    Last edited by TaylanUB (2009-10-18 13:36:48)

  • Changed hard drive now system will not boot [Solved]

    Hi,
    Right got myself into a real mess, transferred data from old drive to new ... set up fstab ... grub is working...
    But.... getting init kernel panic
    Now I figure I need to reinstall kernel [via chroot! in wiki!]
    first try did not work via ubuntu live cd so am burning arch disc now
    I noticed that /dev is empty wondered is that would cause a problem
    reallly do not want to install Ubuntu as I need my box hehe
    MrG
    Last edited by Mr Green (2008-07-22 15:21:45)

    While most things in /dev are created on the fly you do need a console node and a null node to boot the system.  If you boot a cd, mount the drive (eg /mnt/disk) and then
    mknod -m 600 /mnt/disk/dev/console c 5 1
    mknod -m 666 /mnt/disk/dev/null c 1 3
    That might fix the problem.
    The other times I've had kernel panics have been when the root=/dev/sda? bit of the kernel line in grub was pointing to the wrong place (kernel was looking at my /home partition and wondering why it couldn't find init) so thats another thing I would check.

  • Win 7 and Arch dual boot [SOLVED]

    There are other help threads about this, but I didn't want to hijack somebody's elses thread.  Sorry for the long post, I just want to provide as much detail as possible:
    I am trying to use Grub (not Grub2) to dual boot between Arch Linux and Windows 7.  I had this working before using Windows XP, but when I reinstalled Windows 7 over Windows XP, Grub would no longer boot Windows.
    1.  If I manually choose the hd containing Windows 7 to load first in my BIOS, Windows 7 boots no problem.  If I manually choose the hd with Grub and Arch to load first in my BIOS, I get a Grub menu, which boots Arch, but not Windows 7.  Ideally, I think, I would like to have the internal drive with Arch ranked first, then the internal drive with Windows second in my BIOS. At least, that's how I had been doing things before blowing away XP and installing Windows 7.
    2.  Here is the (abbreviated) output of sudo fdisk -l
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *        2048      206847      102400    7  HPFS/NTFS
    /dev/sdb2          206848   169934847    84864000    7  HPFS/NTFS
    /dev/sdb3       169935570  1953520064   891792247+  83  Linux
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *          63     1028159      514048+  83  Linux
    /dev/sda2         1028160     3084479     1028160   82  Linux swap / Solaris
    /dev/sda3         3084480    44050229    20482875   83  Linux
    /dev/sda4        44050230   488392064   222170917+  83  Linux
    3.  From that, I can tell that Arch is installed on sda:  sda1 = boot partition; sda2 = swap; sda3 = root partition; sda4 = home partition.
    Windows 7 is installed on sdb:  sdb1 = system reserved partition (created automatically by Windows 7 during install); sdb2 = Windows; sdb3 = separate ext3 partition
    4. I am comfortable editing Grub menus.  This is an excerpt of mine:
    # (0) Arch Linux
    title  Arch Linux
    root   (hd0,0)
    kernel /vmlinuz26 root=/dev/disk/by-uuid/blah-blah-blah ro
    initrd /kernel26.img
    # (2) Windows
    title Windows 7
    rootnoverify (hd1,0)
    savedefault
    makeactive
    map (hd1) (hd0)
    map (hd0) (hd1)
    chainloader +1
    5.  The error I get is "error 15: file not found"  If I change the line reading "rootnoverify" to "root", I get the same error plus the bit about "filesystem unknown, partition type 0x7" so I think I'm pointing at the right partition/drive.  That is, I know that partition type 0x7 is an NTFS filesystem/Windows.
    6.  I messed around with the Grub entry for Windows.  I modified the root line to read "rootnoverify (hd1,1)", but things still did not work.  I wasn't sure if I needed to bypass the "system reserved" partition created by Windows, or not.  I also flip-flopped the two map lines, so they read:
                        map (hd0) (hd1)
                        map (hd1) (hd0)
    That did not work either.  I tried these combinations together, but Windows still would not boot.  Always the same error message: "filesystem unknown, partition type 0x7"
    7.  I think I have a mapping problem given that Arch boots fine and Windows boots fine from the BIOS.  However, I'm not sure how to fix this.  Any help would be appreciated.
    Thanks,
    Culley
    Edit:
    Okay, so I fixed things.  I just removed a bunch of stuff from my Grub entry.  Even though Windows is not on the same drive as Grub, it does not need the map sections like I thought.  I also removed the savedefault and makeactive entries, not sure if that made a difference or not. My new grub entry looks like this
    # (2) Windows
    title Windows 7
    rootnoverify (hd1,0)
    chainloader +1
    Last edited by CulleyS (2010-09-24 15:45:12)

    This is exactly why I have chosen to use windows MBR and syslinux
    https://wiki.archlinux.org/index.php/Wi … oot-loader
    Last edited by ackt1c (2012-10-14 02:32:55)

  • Filesystem check failed while booting [SOLVED]

    I tried to get some help from my previous post but got no answers, so I'll summarize in hope of getting an answer:
    I've installed linux before windows because I had this operating system before. But, when I've partitioned I've made a NTFS type 83 for windows, cause I know I'd install it later on.
    Now, I've restored my bootloader (grub) but when I try to boot my arch linux copy, a message tells me that my partition sda2 which is my Windows one, isn't clean or corrupt.
    all my linux partition are clean, but my NTFS windows partition make me unable to boot on my linux OS with this error msg:
    fsck.ext4: Bad magic number in super-block while trying to open /dev/sda2
    /dev/sda2:
    The superblock could not be read or does not describe a correct ext filesystem. If the devine is valid and it really contains an ext2 filesystem (and not swao or ufs or simething else), then the superblock is corrupt, and you might try running e2fsck with an alternate superbloc:
    e2fsck -b 8193 <device>
    Next I can do is entering the root psw and use the command line, I really need help to restore my linux partition without formating anything, please.
    My guess is that linux doesn't reorganize the partition as it is NTFS and doesn't boot for this reason, but didn't find how to fix it over internet yet, some help would be really appreciated.
    Last edited by Mazh (2011-06-10 20:30:39)

    My partition layout is:
    fdisk -l output:
    /dev/sda1 ID (5) extended (don't know what's that didn't think I've made that myself, maybe coming from windows when I installed the NTFS partition)
    /dev/sda2 * HPFS/NTFS/exFAT ID (7) (strange cause I had set 87 but well, windows is working correctly it seems)
    /dev/sda3 ID (83) linux
    /dev/sda5 ID (83) linux
    /dev/sda6 ID (83) linux
    /dev/sda7 ID (83) linux
    /dev/sda8 * ID (83) linux
    yep, it's actually strange that my fsck.ext4 check my sda2 partition NTFS...
    cat /etc/fstab:
    /dev/sda2 /home ext4 defaults 0 1
    /dev/sda5 swap defaults 0 0
    /dev/sda6 /var ext4 defaults 0 1
    /dev/sda7 /usr ext4 defaults 0 1
    /dev/sda8 / ext4 defaults 0 1
    menu.lst
    linux grub
    /dev/sd0 (fd0)
    /dev/sda (hd0)
    /dev/sdb2 (hd1,1)
    /dev/sda3 (hd0,2)
    title arch linux
    root (hd0,7)
    kernel /bootvmlinuz26 root=/dev/sda8 ro
    initrd /boot/kernel26.img
    the arch fallback (same)
    title Windows xp lite sp3
    rootnoverify (hd0,1)
    makeactive
    chainloader +1
    I really have to write by hands, so if you wants more info tell me and I'll write more.
    it's strange, could you explain me what does mean hd1 or hd0? isn't the 1st and second hard drive? and the second array the partition? cause if so, i've only 1 drive. But I'm probably not correct. Hope you get enough info to get me out of this problem!
    And no, I'm not using UUIDs, thx for your suggestion!

  • Acpi-cpufreq won't load at boot [solved]

    Hi,
    I wanted to use cpu scaling for my new laptop, eventually it works if i modprobe acpi-cpufreq so i added acpi-cpufreq to /etc/rc.conf to let it start automatic on boot but i won't. when i modprobe the module everything just works but it isn't that user friendly;) Does anyone now a solution for this problem?
    Here is my rc.conf:
    DAEMONS=(syslog-ng netfs acpi-cpufreq cpufreq iwl3945 hal dhcdbd networkmanager fam fuse stbd @crond @alsa gdm)
    Last edited by jelly (2008-10-31 11:13:59)

    Did you actually read the wiki properly??
    http://wiki.archlinux.org/index.php/Cpufrequtils
    acpi-cpufreq is a module not a daemon, put it in the modules list, it should work then.
    Last edited by R00KIE (2008-10-30 21:49:50)

  • Dhcpcd eth0 on every boot SOLVED

    Hi, I just installed Duke on my IBM T30 and it won't connect to eth0 automatically.
    I have to type "dhcpcd eth0" every boot and it connects OK.
    Have I missed a setting somewhere?
    Thanks for your help
    Regards
    Last edited by drum (2007-05-23 07:12:18)

    Thanks
    I read it and discovered there was a space between eth0 and the = sign.
    Cheers mate all fixed

  • Command line display disappears during boot [solved]

    I've brought my machine up to date with systemd, and have run into this latest problem.  I boot with syslinux.  My machine has started giving me kernel panics when I boot with the primary configuration, which had
    acpi=off
    in the append line, I believe to address this very problem.  If I boot with the fallback, which does not have this entry, I get a boot that I can access over ssh, but the command line display disappears after running through a few lines.  Commenting out the acpi language in the primary gives the same result as the fallback.
    If I can't boot with it in there, and can't see the screen with it out, what do I do?
    [edit]
    I was looking for some information on the boot process to explain what changes during the boot to cause the screen to go from visible to invisible.  When it used to boot, I remember a font change happening part way through the boot, but don't remember what caused it.  Searching for the boot process on the wiki only gives the systemd page, and I didn't find anything there that was helpful in this regard.
    I am downloading a live iso and will try booting with that to see if the display issues are present using that approach.
    [edit]
    Ok, it had nothing to do with acpi.  I was running the nvidia driver.  My machine has a processor with a gpu, and apparently it decided to hand off to my intel gpu, which has nothing attached to it, instead of sticking with the nvidia.  May have to do with KMS (wiki.archlinux.org/index.php/Kernel_Mode_Setting).  So I deleted the nvidia driver per the wiki instructions and added the nouveau driver, enabled the KMS per the instructions, and now I have a command prompt.
    Last edited by timm (2013-01-11 20:13:01)

    i did  systemd.unit=multi-user.target at the boot loader .  https://wiki.archlinux.org/index.php/Systemd  for more options

Maybe you are looking for

  • "Apple Mobile Device Support" doesn't install with iTunes

    When I install iTunes 11.3 on my pc "Apple Mobile Device Support" doesn't install. The installer installs Apple Application Support Apple Software Update Bonjour iTunes But it doesn't install "Apple Mobile Device Support" My OS is "Windows 8.1 64bit"

  • Upgrade to PI 7.1 EHP1 from PI7.0 - Stability of the Product

    Dear Experts, We are currently working on PI7.0 from last two year and it is working quite fine. We are now in the process of upgrading it to PI7.1 EHP1 SP3/4. We want to upgrade it mainly for using PI's SOA and advance adapter engine functionality.

  • Software Change Management - usage in SAP

    Hi, Please anybody can - Are we using version control tools like ration rose, SCM – Software configuration Management in SAP? Thanks in advance Swamy

  • LSMW Vendor Load - Including Email Address

    Hello Experts, I am using LSMW to load vendors from a legacy system into SAP using the following: *Batch Input Method *Object 0040 *Method 0001 *Program RFBIKR00 Now, I understand that RFBIKR00 does not support the ARD6 table for email addresses, whi

  • Unable to get distributed destination in cluster

    [Cross post with interest.jms]           Hi,           I'm working with Weblogic 8.1.2 on Windows. Up until now I've always worked with a single server on which I have configured a JMS server and a number of queues. My clients get references to the q